mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2025-01-03 14:56:36 -05:00
Update: Removed unused variable.
I'm not sure if we should check for the result of pthread_join(). But how it was doesn't do that anyway.
This commit is contained in:
parent
9bfb3a34fc
commit
11b9c61ae7
@ -750,9 +750,8 @@ void thread_library_unlock(void)
|
|||||||
void thread_join(thread_type *thread)
|
void thread_join(thread_type *thread)
|
||||||
{
|
{
|
||||||
void *ret;
|
void *ret;
|
||||||
int i;
|
|
||||||
|
|
||||||
i = pthread_join(thread->sys_thread, &ret);
|
pthread_join(thread->sys_thread, &ret);
|
||||||
_mutex_lock(&_threadtree_mutex);
|
_mutex_lock(&_threadtree_mutex);
|
||||||
avl_delete(_threadtree, thread, _free_thread);
|
avl_delete(_threadtree, thread, _free_thread);
|
||||||
_mutex_unlock(&_threadtree_mutex);
|
_mutex_unlock(&_threadtree_mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user