On Tue, 08 Dec 2015 05:40:29 -0800, pub.clau...@gmail.com wrote:
> The replacement of the 'whatever' syntax as sugar for consuming Channels
> through 'react' locks very often (5-10% of the time). The thread seems to
> be stuck on 'shift', probably from the Channel). When rewriting the exact
> same functionality with the channel.poll syntax, the problem does not occur.
> 
> Attached you'll find 2 scripts: loop_channelreact.p6 reproduces the
> problem, while loop_channelpoll uses the old tried and tested approach.
> 
All kinds of things have been fixed that could have been to blame since this 
ticket was field; either way, it works out. I remove the sleep so it'd go 
faster and ran it for 250,000 iterations without trouble.

Added this example as a test in S17-supply/syntax.t to make sure it doesn't 
come up again.

Reply via email to