mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +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();
|
SaveMotorPositions();
|
||||||
|
|
||||||
|
pthread_cancel(tsdt);
|
||||||
zapit_ready = 0;
|
zapit_ready = 0;
|
||||||
pthread_join (tsdt, NULL);
|
pthread_join (tsdt, NULL);
|
||||||
INFO("shutdown started");
|
INFO("shutdown started");
|
||||||
|
Reference in New Issue
Block a user