How to call stop from parallel foreach

Ali Çehreli acehreli at yahoo.com
Fri Jun 25 15:08:38 UTC 2021


On 6/25/21 7:21 AM, seany wrote:

 > The code without the parallel foreach works fine. No segfault.

That's very common.

What I meant is, is the code written in a way to work safely in a 
parallel foreach loop? (i.e. Is the code "independent"?) (But I assume 
it is because it's been the common theme in this thread; so there must 
be something stranger going on.)

Ali



More information about the Digitalmars-d-learn mailing list