How to use containers in lock based concurrency
crimaniak
crimaniak at gmail.com
Fri Nov 3 15:36:19 UTC 2017
On Friday, 3 November 2017 at 12:42:29 UTC, ANtlord wrote:
> Hello! I can't get how to use double linked list in
> concurrency. Please help.
...
> I get a compile error onlineapp.d(8): Error: template
> std.container.dlist.DList!string.DList.insertFront cannot
> deduce function from argument types !()(string) shared,
One Does Not Simply get the non-shared object and use in the
shared code. (/Boromir mode)
For me, it was useful to read this:
http://www.informit.com/articles/article.aspx?p=1609144&seqNum=11
More information about the Digitalmars-d-learn
mailing list