You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggests, calling Fiber.interrupt on a Fiber that is parked in a call to FiberServerSocketChannel.accept does not cause an InterruptedIOException to be thrown, as I would expect from reading the code. I have traced the problem into FiberAsync.run, but am not fluent enough in the semantics of park/unpark to get further. Here is a simple main method that reproduces the problem:
The text was updated successfully, but these errors were encountered:
pron
changed the title
Fiber.interrupt not interrupting call to FiberServerSocketChannel.accept
Fiber.interrupt not interrupting FiberAsync.run
Sep 15, 2014
As the title suggests, calling Fiber.interrupt on a Fiber that is parked in a call to FiberServerSocketChannel.accept does not cause an InterruptedIOException to be thrown, as I would expect from reading the code. I have traced the problem into FiberAsync.run, but am not fluent enough in the semantics of park/unpark to get further. Here is a simple main method that reproduces the problem:
https://gist.github.com/cgordon/7b050a5a6820db3745b0
Here is the output of the flight recorder for a run of that method:
https://gist.github.com/cgordon/a0d80c1be504bbd71d82
Here is the gradle.build file I used:
https://gist.github.com/cgordon/1b20a67634602efd415c
The text was updated successfully, but these errors were encountered: