3 ms·
The code runs in what's effectively a single-threaded context. CPUs running other threads will be involved when joining and launching threads, this should suff
by zozbot234 3y ago
The code runs in what's effectively a single-threaded context. CPUs running other threads will be involved when joining and launching threads, this should suffice as synchronization.