On Saturday, 1 December 2012 at 11:36:16 UTC, Zardoz wrote:

The prevois code should work better if i set "total" to be sahred and hope that D shared vars have nnow the internal barries working ,or I need to manually use semaphores ?

Probably core.atomic is the way to go. Semaphore is an overkill.

Reply via email to