On Thu, Mar 31, 2011 at 11:19 AM, Michael A Baikov <pacak@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 event manager that we fixed some time during the 7.0.2 or 7.0.3 release cycle. So if you're not running 7.0.3, please do.