Re: synchronizing MVar ( was compiling concurrent haskell with ghc )

2003-07-30 Thread Dennis Sidharta
. Again, thank you for the help. Sincerely, Dennis Sidharta --- Sven Panne [EMAIL PROTECTED] wrote: Dennis Sidharta wrote: [ problems with concurrent Haskell ] I can see two problems in your code: * forkIO creates daemon threads, so the program terminates immediately. * Chan

Re: compiling concurrent haskell with ghc

2003-07-28 Thread Dennis Sidharta
Hi Keith, With this email I attached the source code. As you can see, it is very simple. And in case you would like to know, I wrote that program for a short tutorial on Haskell for a programming language courseI took last semester. Thank you very much. Blessings, Dennis Keith Wansbrough

Re: compiling concurrent haskell with ghc

2003-07-28 Thread Dennis Sidharta
Hi Sven, Thanks for the pointer! I will try to play around with MVar. Sincerely, DennisSven Panne [EMAIL PROTECTED] wrote: Dennis Sidharta wrote: [ problems with concurrent Haskell ]I can see two problems in your code:* forkIO creates "daemon threads", so the program terminates i

compiling concurrent haskell with ghc

2003-07-27 Thread Dennis Sidharta
not find any information on thisexcept adding -syslib concurrent flag, which also did not help. Thank you very much for the help. Blessings, Dennis Sidharta Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software