[Python-ideas] Async API: some code to review

Mark Hackett mark.hackett at metoffice.gov.uk
Mon Oct 29 17:09:51 CET 2012

On Monday 29 Oct 2012, Richard Oudkerk wrote:
> Writing (short messages) to a pipe also
> has atomic guarantees that can make having multiple writers perfectly
> reasonable.
> --
> Richard
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas

Is that actually true? It may be guaranteed on Intel x86 compatibles and Linux 
(because of the string operations available in the x86 instruction set), but I 
don't thing anything other than an IPC message has a "you can write a string 
atomically" guarantee. And I may be misremembering that.

And even if it's part of the SUS, how do we know this is true for non-UNIX 
compatible systems?

More information about the Python-ideas mailing list