[Haskell-cafe] Re: syscall, sigpause and EINTR on Mac OSX

Branimir Maksimovic bmaxa at hotmail.com
Sun Dec 11 19:47:12 EST 2005




>From: Joel Reymont <joelr1 at gmail.com>
>To: Branimir Maksimovic <bmaxa at hotmail.com>
>CC: haskell-cafe at haskell.org
>Subject: Re: [Haskell-cafe] Re: syscall, sigpause and EINTR on Mac OSX
>Date: Sun, 11 Dec 2005 23:52:19 +0000
>
>
>On Dec 11, 2005, at 10:02 PM, Branimir Maksimovic wrote:
>
>
>This does not work for ^C. Can it actually be done? Of course I can  just 
>read "q" but that would be too simple :-).

Perhaps you can implement this in Haskell? dedicate single thread to
just handle ^C signal? this is how you should do it properly,
but I would go with console client anyway:

http://www.scit.wlv.ac.uk/cgi-bin/mansec?3T+thr_sigsetmask

Greetings, Bane.

>
>	Thanks, Joel
>
>--
>http://wagerlabs.com/
>
>
>
>
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Haskell-Cafe mailing list