On Fri, Sep 02, 2011 at 15:55:07 +0100, maciek.makow...@gmail.com wrote: > If the only restriction here is that all the GUI updates should happen > on the main OS thread, doesn't it mean that Haskell (green) threads > spawned through forkIO are fine, because they execute on the same OS > thread? Or does wxHaskell introduce additional restrictions?
I'm not the best person to ask, but I will note that Haskell's very lightweight threads may be divided up among one or more OS thread (if you enable the multi-threaded runtime). A Haskell thread may also be passed around from one OS thread to another. See the Word of the Month in http://www.well-typed.com/blog/53 -- Eric Kow <http://erickow.com>
pgpFzW0rcRDuZ.pgp
Description: PGP signature
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users