It works fine up to the point when makefdCallback tries to use
GHC.Conc.threadWaitRead on fd
So my example is simplifed in to this:
import System.Posix.IO
import GHC.Conc
main = do
fd - openFd /etc/passwd ReadOnly Nothing defaultFileFlags
threadWaitRead fd-- the big bang
On Thu, Mar 31, 2011 at 11:19 AM, Michael A Baikov pa...@bk.ru wrote:
import System.Posix.IO
import GHC.Conc
main = do
fd - openFd /etc/passwd ReadOnly Nothing defaultFileFlags
threadWaitRead fd-- the big bang happens right here.
closeFd fd
There were a couple of bugs in
I am running 7.0.3.
-Original Message-
On Thu, Mar 31, 2011 at 11:19 AM, Michael A Baikov pa...@bk.ru wrote:
import System.Posix.IO
import GHC.Conc
main = do
fd - openFd /etc/passwd ReadOnly Nothing defaultFileFlags
threadWaitRead fd-- the big bang happens