Nathaniel Smith added the comment:

@arigo: Technically we also need that the writes to memory are observed to 
happen-before the write() call on the wakeup fd, which is not something that 
Intel is going to make any guarantees about. But *probably* this is also safe 
because the kernel has to use some kind of cross-CPU synchronization to wake up 
the read()ing thread, and that imposes a memory barrier.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31119>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to