[Haskell-cafe] simple servers

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Thu Sep 20 03:05:35 CEST 2012


> Is it true that writing a simple server using forkIO now integrates
> native event loops implicitly? 


IO manager handles event driven stuff. Thanks to this, we can enjoy
(light) thread programming using forkIO.

> One last question. When writing C code, using epoll apis explicitly
> can impose some blocking. Is the same to be said for GHC.Event?

I don't understand your question.

All system calls issued from the network package use non-blocking.
You don't have to worry about blocking at all.


This article would help:



More information about the Haskell-Cafe mailing list