On Mon, Dec 13, 2010 at 9:06 AM, Mathijs Kwik <bluescreen...@gmail.com> wrote: > Just to reply to myself once again, > > System.Event (which isn't hidden) re-exports (un)registerFd and other > functions I need for this. > So I can implement all this myself. The only thing I can't do is ask > the RTS's eventmanager to watch the fds for me, but I can just create > my own ("new" constructor is exposed as well) to keep all fd-watching > in 1 thread. > > So it seems just enough functionality is exposed to do what I'm after. > Those GHC devs must be clever guys :)
Bryan and I intend the System.Event API to become more official in the future. It's not quite portable to other implementations yet so you should consider it to be GHC specific (like GHC.Conc) for now. Johan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe