Wait-free thread communication
Nordlöw via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 8 10:07:49 PST 2016
On Friday, 8 January 2016 at 16:58:59 UTC, Jin wrote:
> Idea: no mutex, no CAS, only one direction queues without any
> locks.
>
> My prototype (https://github.com/nin-jin/go.d) is up to 10x
> faster than std.concurrency.send/receive
Very interesting. D has builtin unittests. You should add stress
unittests to assure that your logic is correct. You can start by
searching for keyword `unittest` in the std.concurrency module
for advice how to do this.
More information about the Digitalmars-d
mailing list