projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebaa04c
)
eina: fix warning on Windows.
author
Vincent Torri
<vincent.torri@gmail.com>
Thu, 14 May 2015 07:19:53 +0000
(09:19 +0200)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Thu, 14 May 2015 16:41:48 +0000
(18:41 +0200)
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/eina/eina_thread.c
patch
|
blob
|
history
diff --git
a/src/lib/eina/eina_thread.c
b/src/lib/eina/eina_thread.c
index 86cb8a932b5e0d1db063ed791211512d07f4996d..cbc52ade83d0563521b84f05077a3dcc757f12e3 100644
(file)
--- a/
src/lib/eina/eina_thread.c
+++ b/
src/lib/eina/eina_thread.c
@@
-102,14
+102,16
@@
_eina_internal_call(void *context)
{
Eina_Thread_Call *c = context;
void *r;
+#ifdef EINA_HAVE_DEBUG
pthread_t self;
+#endif
if (c->prio == EINA_THREAD_BACKGROUND ||
c->prio == EINA_THREAD_IDLE)
eina_sched_prio_drop();
- self = pthread_self();
#ifdef EINA_HAVE_DEBUG
+ self = pthread_self();
_eina_debug_thread_add(&self);
#endif
r = c->func((void*) c->data, eina_thread_self());