
7 Aug
2009
7 Aug
'09
11:32 a.m.
Hello Levi, Friday, August 7, 2009, 6:48:42 PM, you wrote:
1. How can one safely perform a blocking wait on a system call via FFI when compiling with -threaded
i think you should use forkOS to create OS thread dedicated to Haskell thread
and avoid signal interruptions which cause the call to return with EINTR?
don't know, but may be you can retry on this retcode or disable EINTR in one specific OS thread -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com