mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
zapit: speed up shutdown by explicitly canceling SDT thread
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1553 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -2330,6 +2330,7 @@ int zapit_main_thread(void *data)
|
||||
|
||||
SaveMotorPositions();
|
||||
|
||||
pthread_cancel(tsdt);
|
||||
zapit_ready = 0;
|
||||
pthread_join (tsdt, NULL);
|
||||
INFO("shutdown started");
|
||||
|
Reference in New Issue
Block a user