On Mon, 02 Sep 2013 14:34:28 GMT, Dylan Knutson wrote:

Hello,

Are Vibe.d's fibers compatible with ReadWriteMutex in core.sync.rwmutex? I'd like to be able to use it in my code for multithreaded (and multifibered) read access to data, but only single fiber write access.

Thanks,
--Dylan

Unfortunately not as is, but you should be able to simply take rwmutex.d from druntime and replace every occurrence of Mutex with a TaskMutex, as well as every Condition with a TaskCondition and it should work and compile just fine. There also is an open ticket for this and I'll implement one in vibe.d at some point, just not sure when exactly (maybe I'll even actually just modify the druntime one).