1
0
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:
Michael Smith 2002-11-22 13:00:44 +00:00
parent fc3bc41c22
commit 4453518a8e

View File

@ -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);
}