mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
Lots of bugfixes contributed by Karl Heyes.
svn path=/trunk/thread/; revision=4111
This commit is contained in:
parent
fc3bc41c22
commit
4453518a8e
@ -707,6 +707,9 @@ void thread_join(thread_t *thread)
|
||||
int i;
|
||||
|
||||
i = pthread_join(thread->sys_thread, &ret);
|
||||
_mutex_lock(&_threadtree_mutex);
|
||||
avl_delete(_threadtree, thread, _free_thread);
|
||||
_mutex_unlock(&_threadtree_mutex);
|
||||
_free_thread(thread);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user