On Mon, 9 Sep 2019 19:04:35 +1000 Chris Angelico <[email protected]> wrote: > On Mon, Sep 9, 2019 at 12:34 AM Vinay Sharma via Python-ideas > <[email protected]> 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 > <[email protected]> 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. _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/FYDIHN7NEOSGR3WA3I2NGDQL2JEJUKDH/ Code of Conduct: http://python.org/psf/codeofconduct/
