[Haskell-cafe] Suggestiong for inter-thread communication

Brandon Allbery allbery.b at gmail.com
Sat Jan 26 17:10:03 CET 2013

On Sat, Jan 26, 2013 at 5:51 AM, Petr P <petr.mvd at gmail.com> wrote:

> However, I'm not sure if Ncurses doesn't mind calling getEvent from a
> different thread than the one that updates UI.

I don't know if the Haskell bindings change this, but at the C level as
long as automatic echo to a window is turned off, it should be safe to do
reads from one thread and writes from another.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130126/f5aac91c/attachment.htm>

More information about the Haskell-Cafe mailing list