[Haskell-cafe] Re: Hugs vs GHC (again) was: Re: Somerandomnewbiequestions

Gracjan Polak gracjan at acchsh.com
Tue Jan 11 09:15:29 EST 2005

Simon Marlow wrote:
 > There's a big lock on File.  If you want to do truly concurrent reading,
 > you can make multiple FileInputStreams, each of which has its own file
 > descriptor (the Unix implementation uses dup(2)).

Original and descriptor returned by dup or dup2 share file pointer.


More information about the Haskell-Cafe mailing list