[Haskell-cafe] Poisx select support
dons at galois.com
Wed Jan 16 14:32:59 EST 2008
> In the ghc libraries directory I can't find the Haskell
> .hs/.lhsthat implements Posix select. ?? I found Select.c.
The thread primitives are implemented in terms of select, and give you a
Also, with Control.Concurrent.STM.
You can have threads wait on one of a series of alternative events.
Using STM, you'll be able to compose blocks of such code, which you
can't do with select.
More information about the Haskell-Cafe