On Oct 10, 2013, at 4:17 AM, Michel Fortin <[email protected]> wrote:
> On 2013-10-10 06:41:19 +0000, Jacob Carlborg <[email protected]> said: > >> On 2013-10-10 06:24, Jonathan M Davis wrote: >>> So, it's my impression that being able to consider casting to or from shared >>> as abnormal in code which uses shared is a bit of a pipe dream at this >>> point. >>> The current language design pretty much requires casting when doing much of >>> anything with concurrency. >> There must be a better way to solve this. > > http://michelf.ca/blog/2012/mutex-synchonization-in-d/ Good article. But why didn't you mention core.sync? It has both a Mutex and a ReadWriteMutex (ie. shared_mutex).
