Actions
Bug #19709
closed`Thread.join(timeout)` hangs in fiber scheduler.
Description
Unfortunately the following script can hang:
require_relative 'test/fiber/scheduler'
scheduler = Scheduler.new
Fiber.set_scheduler scheduler
Fiber.schedule do
thread = Thread.new{sleep}
thread.join(0.1)
end
The termination condition in the thread_join
is not expressed correctly.
Actions
Like0
Like0Like0Like0