#3231: Permission denied error with runProcess/openFile
---------------------------------+------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 6.10.2
Severity: major | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Windows
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by duncan):
I originally thought I saw two problems in Neil's example, but looking at
it again I see that he's doing the same thing in two threads separately,
so each child process is holding the file from both threads open. At some
point as the two threads get out of sync then one will have it open while
the parent tries to open it again.
So perhaps there's nothing happening here more than #2650. Which is good
because we pretty much understand that one.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3231#comment:15>
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