vdr
2.2.0
|
Public Member Functions | |
cRemoveDeletedRecordingsThread (void) | |
![]() | |
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) |
![]() | |
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 tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
Definition at line 84 of file recording.c.
cRemoveDeletedRecordingsThread::cRemoveDeletedRecordingsThread | ( | void | ) |
Definition at line 91 of file recording.c.
|
protectedvirtual |
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 96 of file recording.c.
References cListBase::Del(), DELETEDLIFETIME, DeletedRecordings(), cIoThrottle::Engaged(), cList< T >::First(), cRemote::HasKeys(), cLockFile::Lock(), MAXREMOVETIME, cVideoDirectory::Name(), cList< T >::Next(), cRecording::Remove(), cVideoDirectory::RemoveEmptyVideoDirectories(), and SORTMODEFILE.