On Fri, 18 May 2001, Dean Herington wrote:

> You are creating a new MVar with each listen and speak.  As a result, the
> two threads never agree on an MVar, so deadlock occurs.  Instead, you should
> create the pair of MVars in newCord.  Try the code below.
>
> [...]

Thanks, this works. Thanks!

--Andreas.


_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to