14 ms·
I guess this is one of those "obvious in retrospect" things, but modifying global state in a multithreaded program is definitely something that should immediate
by Sharlin 10y ago
I guess this is one of those "obvious in retrospect" things, but modifying global state in a multithreaded program is definitely something that should immediately ring alarm bells unless the API is specified to be thread-safe.