On Thursday, 20 August 2015 at 15:25:57 UTC, Chris wrote:
Is there a way to flush a thread's message box other than aborting the thread? MailBox is private:

https://github.com/D-Programming-Language/phobos/blob/master/std/concurrency.d#L1778

flush from inside the thread? You could call receiveTimeout with a 0 timer in a loop until it returns false.

Reply via email to