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