10 Sep
2019
10 Sep
'19
8:51 a.m.
On Mon, 9 Sep 2019 19:04:35 +1000
Chris Angelico
On Mon, Sep 9, 2019 at 12:34 AM Vinay Sharma via Python-ideas
wrote: Currently, C++ has support for atomic types, on which operations like add, sub, xor, etc can be done atomically, thereby avoiding data races. Having such a support will be very helpful in Python.
On Mon, Sep 9, 2019 at 6:27 PM Vinay Sharma via Python-ideas
wrote: First of all I am only concerned with synchronization across multiple processes only, and not threads. Therefore I never mentioned multi-threading in my original post.
How do C++ atomic types behave across processes?
Since we're merely talking about access memory, the same as intra-process. Regards Antoine.