Re: [GUI] Another call for votes

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.ffi,gmane.comp.lang.haskell.gui
Message-ID <[email protected]>
> It seems that it is necessary to state that these three functions all
> execute in the same thread. I don't want to write C wrappers for all 
> Gtk
> functions!

Yes, that's what the current "bound threads" proposal is all about, to 
allow a Haskell thread to be "bound" to a specific OS thread so that 
all three functions are guaranteed to execute in the same thread.
I think that GHC probably won't ship with the "threaded RTS" enabled 
before this or an equivalent proposal has been accepted and implemented.
Without the threaded RTS (e.g. GHC 5.04), OS threads are a non-issue, 
as all Haskell code runs in one OS thread.
So no need to worry there.

Cheers,

Wolfgang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.