-fix CEC (timer record)

This commit is contained in:
satbaby
2012-07-30 19:41:30 +02:00
parent 03132b1f95
commit f7e4caac7a
4 changed files with 42 additions and 39 deletions

View File

@@ -461,7 +461,7 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd)
return true;
}
int timerd_main_thread(void */*data*/)
int timerd_main_thread(void *data)
{
pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, 0);
@@ -474,6 +474,7 @@ int timerd_main_thread(void */*data*/)
// Start timer thread
CTimerManager::getInstance();
CTimerManager::getInstance()->wakeup =(bool)data;
timerd_server.run(timerd_parse_command, CTimerdMsg::ACTVERSION);
printf("timerd shutdown complete\n");