You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you ever considered extending the functionality of InterProcessLock to retrieve the PID of the currently locking process? Python does not seem to implement this in the fcntl module but one could use F_GETLK directly and pass the appropriate structure for the platform. An example of how to build such structures for different platforms can be found in the cpython tests.
The text was updated successfully, but these errors were encountered:
Have you ever considered extending the functionality of
InterProcessLock
to retrieve the PID of the currently locking process? Python does not seem to implement this in thefcntl
module but one could use F_GETLK directly and pass the appropriate structure for the platform. An example of how to build such structures for different platforms can be found in the cpython tests.The text was updated successfully, but these errors were encountered: