Download and Install
gbxserialacfr::lockfile::LockFile Class Reference
Detailed DescriptionCreates a lock-file (in /var/lock) which can be used to prevent multiple access to a unique resource (eg "/dev/xxx"). Stores the PID of the locking process (lockPid), so it can check for stale lock-files.
Throws LockFileException's on errors (including 'device locked').
The destructor removes the lock-file (guarantees that no exceptions are thrown).
For more info, see: http://tldp.org/HOWTO/Serial-HOWTO-14.html
The documentation for this class was generated from the following files: