On 2016-05-11 09:22, ZombineDev wrote:

These cases all look like they want to use tryLock instead
(http://dlang.org/phobos/core_sync_mutex#.Mutex.tryLock).

Ah, thanks. Although I see now that the code is not using Monitor.lock, it uses Condition.wait. Condition in this case is not the one in druntime, so I might be good.

BTW, shouldn't there be a tryWait as well?

--
/Jacob Carlborg

Reply via email to