[phobos] Thread Termination

Sean Kelly sean at invisibleduck.org
Thu Jun 17 23:10:02 PDT 2010


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?


More information about the phobos mailing list