Open HoneyryderChuck opened 2 weeks ago
I think Thread in general is considered incompatible with Ractor (it breaks the programming model and there are several bugs with Ractor & threads), and so Timeout (which needs threads) is incompatible with Ractor.
I wouldn't go so far. If timeout
would use ractor-local thread/queue/cond/mutex, it'd work. A completely alternative ractor-friendly implementation could also be an option (although I can't think of one). Was just pointing out that, the way it's implemented, it's unusable.
currently,
timeout
can't be used in ractors:Lots of downstream dependencies rely on
timeout
, and this makes them unusable under ractors.