[Haskell-cafe] Waiting on input with `hWaitForInput' or `threadWaitRead'

Michael Orlitzky michael at orlitzky.com
Mon Oct 17 16:28:39 CEST 2011

On 10/17/11 04:58, Ertugrul Soeylemez wrote:
> I have uploaded a simple concurrent echo server implementation to hpaste
> [1].  It uses one thread for the stdout logger, one thread for the
> server, one thread for each client and finally a main thread waiting for
> you to hit enter to quit the application.
> [1] http://hpaste.org/52742 - Concurrent echo server with logger

This is a good example; you should stick it on the wiki somewhere so it
isn't lost.

More information about the Haskell-Cafe mailing list