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

Joel Reymont joelr1 at gmail.com
Sun Dec 11 21:28:54 EST 2005


My client _is_ single-threaded, I do not use bound (OS) threads at  
all. Does this shed any light on why my OpenSSL stuff is working as  
well as my signal handler? ;-)

On Dec 12, 2005, at 12:21 AM, Branimir Maksimovic wrote:

> In single threaded client you  can handle ^C if you like in signal  
> handler
> without problem.
> That can be gui program if you like , but console
> one should be enough.
> You can implement eg: status, start, pause, quit and so.
> For now quit will be just fine, later you can add more commands.
> Make one listener thread in your program for such connections
> and that's it.

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list