[Haskell-cafe] Libevent FFI problems

Krzysztof Skrzętnicki gtener at gmail.com
Fri Jul 25 16:00:27 EDT 2008


2008/7/25 Levi Greenspan <greenspan.levi at googlemail.com>:
> And to not require a permanent thread for each I would
> like to use something like select in C or Selector in Java. I haven't
> found something like this in Haskell, hence the libevent wrapper.
As far as I know GHC's scheduler uses select() internally.
At least it was using at the time of writing this paper:

"Developing a high-performance web server in Concurrent Haskell"
http://www.haskell.org/~simonmar/papers/web-server-jfp.pdf (see page 15)

Perhaps you might be interested in this paper also because of its topic.


Christopher Skrzętnicki


More information about the Haskell-Cafe mailing list