vdr 2.6.7
|
#include <tools.h>
Public Member Functions | |
cLockFile (const char *Directory) | |
~cLockFile () | |
bool | Lock (int WaitSeconds=0) |
void | Unlock (void) |
Private Attributes | |
char * | fileName |
int | f |
cLockFile::cLockFile | ( | const char * | Directory | ) |
Definition at line 2039 of file tools.c.
References AddDirectory(), DirectoryOk(), and LOCKFILENAME.
bool cLockFile::Lock | ( | int | WaitSeconds = 0 | ) |
Definition at line 2053 of file tools.c.
References esyslog, LOCKFILESTALETIME, LOG_ERROR_STR, and cCondWait::SleepMs().
Referenced by cRemoveDeletedRecordingsThread::Action(), and AssertFreeDiskSpace().