eina: fix warning on Windows.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
ebaa04c318
commit
3a6ccab3ad
|
@ -102,14 +102,16 @@ _eina_internal_call(void *context)
|
||||||
{
|
{
|
||||||
Eina_Thread_Call *c = context;
|
Eina_Thread_Call *c = context;
|
||||||
void *r;
|
void *r;
|
||||||
|
#ifdef EINA_HAVE_DEBUG
|
||||||
pthread_t self;
|
pthread_t self;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (c->prio == EINA_THREAD_BACKGROUND ||
|
if (c->prio == EINA_THREAD_BACKGROUND ||
|
||||||
c->prio == EINA_THREAD_IDLE)
|
c->prio == EINA_THREAD_IDLE)
|
||||||
eina_sched_prio_drop();
|
eina_sched_prio_drop();
|
||||||
|
|
||||||
self = pthread_self();
|
|
||||||
#ifdef EINA_HAVE_DEBUG
|
#ifdef EINA_HAVE_DEBUG
|
||||||
|
self = pthread_self();
|
||||||
_eina_debug_thread_add(&self);
|
_eina_debug_thread_add(&self);
|
||||||
#endif
|
#endif
|
||||||
r = c->func((void*) c->data, eina_thread_self());
|
r = c->func((void*) c->data, eina_thread_self());
|
||||||
|
|
Loading…
Reference in New Issue