1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a note to the log, indicating that no further invalid lock sequences will be reported until VDR is restarted

This commit is contained in:
Klaus Schmidinger 2017-06-25 12:10:19 +02:00
parent 027ae738a8
commit 39294e0147
2 changed files with 4 additions and 1 deletions

View File

@ -9154,3 +9154,5 @@ Video Disk Recorder Revision History
so plugin authors should switch to the new one.
- Now using readdir() instead of readdir_r(), if GLIBC version 2.24 or newer is used
(suggested by Frank Neumann).
- Added a note to the log, indicating that no further invalid lock sequences will be
reported until VDR is restarted.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: thread.c 4.10 2017/06/22 15:10:42 kls Exp $
* $Id: thread.c 4.11 2017/06/25 12:08:16 kls Exp $
*/
#include "thread.h"
@ -634,6 +634,7 @@ void cStateLockLog::Dump(const char *Name, tThreadId ThreadId)
dsyslog("full backtrace:");
cBackTrace::BackTrace(NULL, 2);
dsyslog("--- end invalid lock sequence report");
dsyslog("--- THERE WILL BE NO FURTHER REPORTS UNTIL VDR IS RESTARTED!");
fprintf(stderr, "invalid lock sequence at %s\n", *DayDateTime(time(NULL)));
}