public MessageBox

Sean Kelly sean at invisibleduck.org
Wed Mar 21 12:53:49 PDT 2012


On Mar 20, 2012, at 8:37 PM, Nathan M. Swan wrote:

> After playing around with making a library with uses threads, I realized it would be nice if there could be multiple inter-thread mailboxes than just one per thread. That way, client code and third-party library code don't interfere with each other.

They shouldn't interfere anyway.  The third-party code just has to devise a message format that client code won't look for.  Though if the client discards messages arbitrarily via receive((Variant v) {}) then all bets are off.


More information about the Digitalmars-d mailing list