Commit 3279ea72 authored by Yann Diorcet's avatar Yann Diorcet

futex issue: avoid call ortp_thread_exit in ms_thread_exit

parent df295558
......@@ -728,7 +728,9 @@ void ms_thread_exit(void* ref_val) {
// works directly with Android 2.2
_android_key_cleanup(NULL);
#endif
ortp_thread_exit(ref_val);
#if !defined(__linux) || defined(ANDROID)
ortp_thread_exit(ref_val); // pthread_exit futex issue: http://lkml.indiana.edu/hypermail/linux/kernel/0902.0/00153.html
#endif
}
......
......@@ -413,9 +413,7 @@ void * ms_ticker_run(void *arg)
unset_high_prio(precision);
ms_message("%s thread exiting",s->name);
#if !defined(__linux) || defined(ANDROID)
ms_thread_exit(NULL); // pthread_exit futex issue: http://lkml.indiana.edu/hypermail/linux/kernel/0902.0/00153.html
#endif
ms_thread_exit(NULL);
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment