lockfile
)Create and manage lock files
lockfile
is used to create and manage lock files
Create a lock file with the name identifier
lockfile lock identifier
Delete a lock file with the name identifier
lockfile unlock identifier
Wait until lock file with the name identifier
has been deleted
lockfile wait identifier
Output the the file name and path of a lock file with the name identifier
lockfile path identifier -> <stdout>
lockfile lock example
out "lock file created: ${lockfile path example}"
bg {
sleep 10
lockfile unlock example
}
out "waiting for lock file to be deleted (sleep 10 seconds)...."
lockfile wait example
out "lock file gone!"
lockfile
bg
): Run processes in the backgroundout
): Print a string to the stdout with a trailing new line characterThis document was generated from builtins/core/io/lockfile_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Tue Dec 10 22:56:57 UTC 2024 against commit 60f05a260f05a227caf73dd5b3478e3cb3f4bb24e46745b.
Current version is 6.4.1005 (develop) which has been verified against tests cases.