Close Threads

candle fichtknick at
Mon May 28 18:47:27 UTC 2018

Hey Folks.

I have a question about threading and how to close threads i 
don't need anymore.

In the following code, i build 3 threads with spawn from the 
concurrency module.

if one thread found the number, all others thread must stop 

but i have a big logical problem in my mind.

i hope someone can help me to find a solution.

Happy Greetings

and here is the code:

More information about the Digitalmars-d-learn mailing list