Some problems writing a threaded program

John Vogel jpvogel1 at gmail.com
Mon Feb 11 09:43:16 EST 2008


>
> Thankyou both Don Stewart and Simon Marlow for your responses.



By adding yield and threadDelay in certain spots I have at least prevented
some of the threads from being starved of CPU time.

The only issue now is that terminateProcess doesn't always terminate
netstat.exe in the cmd.exe so I don't get an exit condition.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080211/0392d336/attachment.htm


More information about the Glasgow-haskell-users mailing list