vdr 2.7.6
|
Public Member Functions | |
cRemoveDeletedRecordingsThread (void) | |
Public Member Functions inherited from cThread | |
cThread (const char *Description=NULL, bool LowPriority=false) | |
virtual | ~cThread () |
void | SetDescription (const char *Description,...) __attribute__((format(printf |
void bool | Start (void) |
bool | Active (void) |
Protected Member Functions | |
virtual void | Action (void) override |
Protected Member Functions inherited from cThread | |
void | SetPriority (int Priority) |
void | SetIOPriority (int Priority) |
void | Lock (void) |
void | Unlock (void) |
bool | Running (void) |
void | Cancel (int WaitSeconds=0) |
Additional Inherited Members | |
Static Public Member Functions inherited from cThread | |
static tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
Definition at line 81 of file recording.c.
cRemoveDeletedRecordingsThread::cRemoveDeletedRecordingsThread | ( | void | ) |
Definition at line 88 of file recording.c.
References cThread::cThread().
|
overrideprotectedvirtual |
A derived cThread class must implement the code it wants to execute as a separate thread in this function.
If this is a loop, it must check Running() repeatedly to see whether it's time to stop.
Implements cThread.
Definition at line 93 of file recording.c.
References DELETEDLIFETIME, cIoThrottle::Engaged(), cRemote::HasKeys(), cLockFile::Lock(), LOCK_DELETEDRECORDINGS_WRITE, MAXREMOVETIME, cVideoDirectory::Name(), cListObject::Next(), cVideoDirectory::RemoveEmptyVideoDirectories(), SORTMODEFILE, TIMERRECFILE, and cRecordings::TouchUpdate().