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
My use case: I want to acquire a lock on a directory and, if successful, run a new process which will do some work in this directory and release the lock at the end.
Is unlock(path) the way to achieve this or is the lock linked to the current process?
The text was updated successfully, but these errors were encountered:
My use case: I want to acquire a lock on a directory and, if successful, run a new process which will do some work in this directory and release the lock at the end.
Is
unlock(path)
the way to achieve this or is the lock linked to the current process?The text was updated successfully, but these errors were encountered: