Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing a Channel on which a worker is receiving may or may not trigger a X::Channel::ReceiveOnDone exception #3735

Open
p6rt opened this issue Mar 16, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 16, 2015

Migrated from rt.perl.org#124074 (status was 'new')

Searchable as RT124074$

@p6rt
Copy link
Author

p6rt commented Mar 16, 2015

From @hoelzro

The attached program blocks indefinitely 42/100 times, throws an odd typechecking exception 6/100 times, and throws the correct exception (X​::Channel​::ReceiveOnDone) 52/100 times.

@p6rt
Copy link
Author

p6rt commented Mar 16, 2015

From @hoelzro

closed-channel.p6

@p6rt
Copy link
Author

p6rt commented Mar 16, 2015

From @hoelzro

On Sun Mar 15 18​:25​:07 2015, rob@​hoelz.ro wrote​:

The attached program blocks indefinitely 42/100 times, throws an odd
typechecking exception 6/100 times, and throws the correct exception
(X​::Channel​::ReceiveOnDone) 52/100 times.

This also happens on the JVM (timeout 26/100 times, correct exception 74/100 times)

@p6rt
Copy link
Author

p6rt commented Jan 18, 2016

From @hoelzro

On 2015-03-15 18​:41​:11, rob@​hoelz.ro wrote​:

On Sun Mar 15 18​:25​:07 2015, rob@​hoelz.ro wrote​:

The attached program blocks indefinitely 42/100 times, throws an odd
typechecking exception 6/100 times, and throws the correct exception
(X​::Channel​::ReceiveOnDone) 52/100 times.

This also happens on the JVM (timeout 26/100 times, correct exception
74/100 times)

This works on MoarVM now.

@p6rt p6rt added the conc label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant