Finished evicting Thread- probably more fiber scheduling to do while I figure out how to put Tasks into a Ractor

This commit is contained in:
2021-12-26 13:46:48 -06:00
parent 2bbb2acc6e
commit 52e46eced5
4 changed files with 20 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ class W3DHub
@die = false
@job = nil
Thread.new do
Async do
until (@die)
@job.process if @job && @job.waiting?
@job = nil