INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
gbxserialacfr::lockfile::LockFile Class Reference#include <lockfile.h>
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:
|