forked from enlightenment/efl
eina: mark thread by default as not cancellable as per Eina documentation.
By default all Pthread are cancellable. This leads to strange behavior that happen during shutdown and hasn't been figured out. Most likely fix for T6622.
This commit is contained in:
parent
978901903d
commit
621f34d322
|
@ -136,6 +136,9 @@ _eina_internal_call(void *context)
|
||||||
void *r;
|
void *r;
|
||||||
pthread_t self;
|
pthread_t self;
|
||||||
|
|
||||||
|
// Default this thread to not cancellable as per Eina documentation
|
||||||
|
eina_thread_cancellable_set(EINA_FALSE, NULL);
|
||||||
|
|
||||||
EINA_THREAD_CLEANUP_PUSH(free, c);
|
EINA_THREAD_CLEANUP_PUSH(free, c);
|
||||||
|
|
||||||
if (c->prio == EINA_THREAD_BACKGROUND ||
|
if (c->prio == EINA_THREAD_BACKGROUND ||
|
||||||
|
|
Loading…
Reference in New Issue