On Mon, 22 Jul 2013 20:26:42 GMT, read/write mutex wrote:

Just a small suggestion. It would be very nice to implement core.sync.TaskReadWriteMutex similar to Phobos - http://dlang.org/phobos/coresyncrwmutex.html
Unfortunately, I have not enough knowledge for implementing it by myself. :(

Since a read/write mutex is usually based on an ordinary mutex, it's very likely that it's possible (apart from licensing issues) to take Druntime's ReadWriteMutex and swap all uses of Mutex with TaskMutex and possibly Condition with TaskCondition. That would be another case in addition to std.concurrency, where it would be very useful to have a swappable low-level mutex implementation...

Anyway, I'll add a quick enhancement request on github as it makes sense to have that possibility (I can't promise when I'll get to it, though).