powered by
lock
unlock(file.lock)
FileLock
## Not run: # require(flock) # # file.lock = lock("~/file.lock") # # Critical section code goes here # unlock(file.lock) # ## End(Not run)
Run the code above in your browser using DataLab