2 ms·
> or you're allowed to run multiple threads that share memory. Indeed, you can always spawn a helper thread that does nothing but incrementing a counter on sha
by the8472 6y ago
> or you're allowed to run multiple threads that share memory.
Indeed, you can always spawn a helper thread that does nothing but incrementing a counter on shared memory and use that as clock substitute. That's why browsers disabled shared arrays after spectre was revealed.
So this isn't practical for any programs that need fine-grained parallelism.