mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
[PATCH] streamts: speed up shutdown
From: Stefan Seyfried <seife@tuxbox-git.slipkontur.de> Date: Sun, 12 Feb 2012 22:16:29 +0100 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2129 e54a6e83-5905-42d5-8d5c-058d10e6a962
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