WvStreams
|
Class to handle Lock files - useful for WvDial and other places where we need to guarantee exclusive access to a file or device. More...
#include <wvlockdev.h>
Public Member Functions | |
WvLockDev (WvString _devicename) | |
bool | lock () |
void | unlock () |
bool | islocked () const |
WvLockDev (WvString _devicename) | |
bool | lock () |
void | unlock () |
bool | islocked () const |
Class to handle Lock files - useful for WvDial and other places where we need to guarantee exclusive access to a file or device.
Creates/Removes lockfiles in /var/lock.
Definition at line 17 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlockdev.h.
WvLockDev::WvLockDev | ( | WvString | _devicename | ) |
Definition at line 17 of file wvlockdev.cc.
WvLockDev::~WvLockDev | ( | ) |
Definition at line 31 of file wvlockdev.cc.
bool WvLockDev::lock | ( | ) |
Definition at line 79 of file wvlockdev.cc.
void WvLockDev::unlock | ( | ) |
Definition at line 136 of file wvlockdev.cc.
|
inline |
Definition at line 27 of file debian/libwvstreams-dev/usr/include/wvstreams/wvlockdev.h.
|
inline |
Definition at line 27 of file include/wvlockdev.h.