STM help

Bulat Ziganshin bulatz at
Mon Jul 4 04:06:11 EDT 2005

Hello John,

Sunday, July 03, 2005, 11:16:30 PM, you wrote:

JM> have a screen update thread, this is the only one that will make curses
JM> calls. 
JM> everything else communicates with the screen by modifying TVars holding
JM> data values like so

in my own program i plan to use different approach. may it will be
better for you too.

1) one thread that render screen
2) this thread receives commands via one Channel and immediately
executes them
3) other threads send commands via this Channel

Best regards,
 Bulat                            mailto:bulatz at

More information about the Glasgow-haskell-users mailing list