#4802: 'current directory' is not thread local
----------------------------------+-----------------------------------------
  Reporter:  tanakh               |          Owner:                  
      Type:  bug                  |         Status:  closed          
  Priority:  normal               |      Milestone:                  
 Component:  libraries/directory  |        Version:  7.0.1           
Resolution:  wontfix              |       Keywords:                  
  Testcase:                       |      Blockedby:                  
Difficulty:                       |             Os:  Unknown/Multiple
  Blocking:                       |   Architecture:  Unknown/Multiple
   Failure:  Documentation bug    |  
----------------------------------+-----------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Correct, the current directory is global process state, not thread-local
 state.  As you say, this is the way it is in Win32 and POSIX threads too.
 If you're doing filesystem operations from multiple threads, then don't
 use the current directory, instead use absolute paths.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4802#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to