Concurrency test

Code



Application output:

one thread... sum = 1783293664 two threads...


Application error:

core.thread.ThreadException@src/core/thread.d(724): Error creating thread ---------------- ----------------

Paste info


Author: Guest
Views: 664
Private: no
Expires: Never
Uploaded: 28.06.12 1:39
Votes: 0

Compilation


Compiler: DMD 2.065.
Pointer size: m64