[phobos] Thread Termination

Andrei Alexandrescu andrei at erdani.com
Thu Aug 26 23:04:25 PDT 2010


On 6/17/10 23:10 PDT, Sean Kelly wrote:
> Here's another fun one.  If a thread A spawns a thread B and sets its maxMailboxSize to some finite number with OnCrowding.ignore set and then terminates when thread B's mailbox is full the OwnerTerminated message will never be received.  I'm inclined to say that the crowding limit should only apply to user-initiated messages, and that system messages are exempt.  Does this sound reasonable?

I think that is reasonable, yes.

Andrei


More information about the phobos mailing list