2 ms·
Global state isn't a problem for multithreaded code. State updates are the problem; it doesn't matter whether it's global or local. If you can solve the local
by sillysaurusx 5y ago
Global state isn't a problem for multithreaded code. State updates are the problem; it doesn't matter whether it's global or local.
If you can solve the local case, you can solve the global case. Pick your technique; any ol' technique is just as good as any other.