Checks whether a lock has been obtained.
The lock as an object of type FileLock.
## Not run:
file.lock = lock("~/file.lock")
# Critical section code goes between here and the unlock call
print("Got the lock!")
## End(Not run)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.