DEV Community

Discussion on: Working With Multithreaded Ruby Part II

Collapse
 
noel9999 profile image
Noel

Hi, I really like your post which does me a favor a lot on comprehend multi-thread.
And I only get an question here to ask, executed_tasks += 1, don't we need to put that into mutex.synchronize to be an atomic execution ?