mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
sectionsd: speed up shutdown
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@139 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 4d97222d9b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-01-03 (Sun, 03 Jan 2010)
This commit is contained in:
@@ -6479,6 +6479,9 @@ static void *sdtThread(void *)
|
|||||||
rs = pthread_cond_timedwait( &dmxSDT.change_cond, &dmxSDT.start_stop_mutex, &abs_wait );
|
rs = pthread_cond_timedwait( &dmxSDT.change_cond, &dmxSDT.start_stop_mutex, &abs_wait );
|
||||||
pthread_mutex_unlock( &dmxSDT.start_stop_mutex );
|
pthread_mutex_unlock( &dmxSDT.start_stop_mutex );
|
||||||
|
|
||||||
|
if(sectionsd_stop)
|
||||||
|
break;
|
||||||
|
|
||||||
if (rs == ETIMEDOUT)
|
if (rs == ETIMEDOUT)
|
||||||
{
|
{
|
||||||
dprintf("dmxSDT: waking up again - looking for new services :)\n");
|
dprintf("dmxSDT: waking up again - looking for new services :)\n");
|
||||||
|
Reference in New Issue
Block a user