On Tue, 10 Sep 2019 18:59:55 +1000
Chris Angelico <ros...@gmail.com> wrote:

> On Tue, Sep 10, 2019 at 6:55 PM Antoine Pitrou <solip...@pitrou.net> wrote:
> >
> > 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.
> >  
> 
> Are you assuming that the processes have a shared memory segment to
> use? If so, that's the underlying mechanic, then.

That's what the OP said.

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/WONK5GMRMHS33PKRUIRKNNL5X3ESHXCR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to