[issue37754] Consistency of Unix's shared_memory implementation with windows
Vinay Sharma
report at bugs.python.org
Sat Aug 24 13:24:33 EDT 2019
Vinay Sharma <vinay0410sharma at gmail.com> added the comment:
Also, shm_open returns an integer file descriptor.
And when this file descriptor is passed too fcntl.flock (in macOS) it throws the following error:
OSError: [Errno 45] Operation not supported
Whereas, the same code works fine on linux.
Therefore, I have doubts whether Macos flock implementation support locking shared_memory files.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37754>
_______________________________________
More information about the Python-bugs-list
mailing list