We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
It seems that a Thread which is running a Fiber and that Fiber is blocked on a Queue#pop is unkillable via Thread#kill.
Thread
Fiber
Queue#pop
Thread#kill
repro
@headius mentioned that it should be possible to kill the Thread's current Fiber. @dbussink wrote a rubyspec for this recently. rubinius/rubinius@9efac8a
/cc @tarcieri rubinius/rubinius#2392
The text was updated successfully, but these errors were encountered:
This is somewhat related to the "Thread.current does not remain consistent between Fibers" bug.
I have been toying with killing all the Threads which are backing the Fibers.
Sorry, something went wrong.
Killing the Thread.current which is for the Fiber before killing the root Fiber's Thread allows the Thread to die.
Thread.current
Repro works just as expected on JRuby 9.1.2.0
Confirmed this is working in 9.x and 1.7.x is EOL. Resolving against a release so it shows up.
No branches or pull requests
It seems that a
Thread
which is running aFiber
and thatFiber
is blocked on aQueue#pop
is unkillable viaThread#kill
.repro
@headius mentioned that it should be possible to kill the
Thread
's currentFiber
.@dbussink wrote a rubyspec for this recently. rubinius/rubinius@9efac8a
/cc @tarcieri rubinius/rubinius#2392
The text was updated successfully, but these errors were encountered: