thread-pool icon indicating copy to clipboard operation
thread-pool copied to clipboard

Not threadsafe

Open HunMaDog opened this issue 4 years ago • 1 comments

https://github.com/mtrebi/thread-pool/blob/dac6bddfc20346a31832ff11a654fd3d774428ca/include/ThreadPool.h#L27

Bool isn't atomic or use lock.

HunMaDog avatar Feb 09 '21 18:02 HunMaDog

yep same I would recommend using atomic_bool

Pratyush0411 avatar Nov 02 '24 16:11 Pratyush0411