[dmd-concurrency] draft 4

Michel Fortin michel.fortin at michelf.com
Tue Jan 12 11:42:53 PST 2010


Le 2010-01-12 à 13:28, Steve Schveighoffer a écrit :

> ----- Original Message ----
> 
>> From: Sean Kelly <sean at invisibleduck.org>
>> 
>> I've considered having the sender's Tid automatically embedded in every 
>> message.  Seems like it's pretty much always wanted, though this would mean not 
>> being able to use just any old delegate for receiving messages.  ie. if you have 
>> a function already that accepts a Foo then would you want to use that directly 
>> or would it be a bother to wrap it in something to throw away the Tid?
> 
> I'm not sure it's always wanted.

I was about to say the same. You often don't care from where an event comes in. And when you care, you can just add the info in the message.

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





More information about the dmd-concurrency mailing list