Many thanks for explanation, and using atomicArc solves the problem. Somehow I 
never quite realised that Nim reference counting was playing a role here and 
would be affected by data races.

Reply via email to