[dmd-concurrency] Sending mesages to non-listening threads

Michel Fortin michel.fortin at michelf.com
Tue Jan 12 11:58:04 PST 2010


It's nice that you can now send messages to any thread like this:

	tid.send(i);

But... what if you're sending a message to the wrong thread, to a thread that isn't listening for messages? Do the messages accumulate in memory until no memory is left? If that's the case, sending messages to the wrong thread would become a memory leak. Any solution?

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the dmd-concurrency mailing list