File locks (run single instance)

It is a common issue, that the developer wants to limit the application (process, task or daemon all equivalently used) to run only one single instance at once. Some devices (file descriptors) can be accessed by one process at a time. Usually, a file lock is used to indicate that ...

more ...