mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
streamts: speed up shutdown
Origin commit data
------------------
Commit: ef4d9e95df
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-12 (Sun, 12 Feb 2012)
This commit is contained in:
@@ -247,6 +247,7 @@ void streamts_main_thread(void * /*data*/)
|
||||
if(st != 0) {
|
||||
printf("Stopping stream thread\n");
|
||||
exit_flag = 1;
|
||||
pthread_cancel(st);
|
||||
pthread_join(st, NULL);
|
||||
close(connfd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user