mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: d4b5b6a08f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-06-19 (Sun, 19 Jun 2011)
------------------
This commit was generated by Migit
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