3 ms·
I'm not seeing anything in the links suggesting that there's a special different "concurrency" than the one commonly used in programming discussion. The Wikipe
by verdagon 5y ago
I'm not seeing anything in the links suggesting that there's a special different "concurrency" than the one commonly used in programming discussion.
The Wikipedia article quotes part of the C++ standard which defines "potentially concurrent", but even with that definition, the article's understanding of data race stands, because these two operations are indeed unsequenced w.r.t. each other.
I don't see a reason to depart from the usual understanding of "concurrent", but I'm open to being convinced!
- mirashii 5y agoLet's try simpler: No code that runs under the GIL is ever run concurrently. All of the code in the example holds the GIL, there's never any concurrency in your article! With no concurrency, there can be no data race.