Safe & Performant Inter-Thread Message Passing

"Nordlöw" per.nordlow at gmail.com
Tue Feb 18 13:05:37 PST 2014


What's the best solution to communicate between threads in D 
today if I care about

1. Security & Correctness?
2. Performance?

and are these mutually exclusive?

Does Phobos or other library contain lockfree queues?

 From what I can see std.concurrent.MessageBox requires 
Mutex-locking. Is this really needed or can it be enhanced to 
support lockfree communication similar to what Boost.Lockfree 
does?


More information about the Digitalmars-d mailing list