vdr 2.7.6
|
Public Member Functions | |
cStateLockLog (void) | |
void | Check (const char *Name, bool Lock, bool Write=false) |
Private Member Functions | |
void | Dump (const char *Name, tThreadId ThreadId) |
Private Attributes | |
cMutex | mutex |
cVector< tThreadId > | threadIds |
cVector< int > | flags |
tThreadId | logThreadIds [SLL_SIZE] |
int | logFlags [SLL_SIZE] |
uint8_t | logCounter [SLL_THREADS][SLL_MAX_LIST] |
int | logIndex |
bool | dumped |
cStateLockLog::cStateLockLog | ( | void | ) |
Definition at line 586 of file thread.c.
References dumped, logCounter, logFlags, logIndex, and logThreadIds.
void cStateLockLog::Check | ( | const char * | Name, |
bool | Lock, | ||
bool | Write = false ) |
Definition at line 643 of file thread.c.
References Dump(), dumped, esyslog, flags, cBackTrace::GetCaller(), logCounter, logFlags, logIndex, logThreadIds, mutex, SLL_LENGTH, SLL_LOCK_FLAG, SLL_MAX_LIST, SLL_SIZE, SLL_THREADS, SLL_WRITE_FLAG, strn0cpy(), cThread::ThreadId(), and threadIds.
|
private |
Definition at line 598 of file thread.c.
References cBackTrace::BackTrace(), DayDateTime(), cBackTrace::Demangle(), dsyslog, logFlags, logIndex, logThreadIds, SLL_LENGTH, SLL_LOCK_FLAG, SLL_MAX_LIST, SLL_SIZE, SLL_WRITE_FLAG, and strn0cpy().
Referenced by Check().
|
private |
Definition at line 579 of file thread.c.
Referenced by Check(), and cStateLockLog().
|
private |
|
private |
Definition at line 574 of file thread.c.
Referenced by Check(), and cStateLockLog().
|
private |
Definition at line 573 of file thread.c.
Referenced by Check(), cStateLockLog(), and Dump().
|
private |
Definition at line 578 of file thread.c.
Referenced by Check(), cStateLockLog(), and Dump().
Definition at line 572 of file thread.c.
Referenced by Check(), cStateLockLog(), and Dump().