eina: try to fix debug build typo.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 25 Jan 2013 01:20:58 +0000 (01:20 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Fri, 25 Jan 2013 01:20:58 +0000 (01:20 +0000)
SVN revision: 83315

src/modules/eina/mp/chained_pool/eina_chained_mempool.c

index 942fdae..a84ab8e 100644 (file)
@@ -79,7 +79,7 @@ struct _Chained_Mempool
    int minimal_size;
 #endif
 #ifdef EINA_HAVE_DEBUG_THREADS
-   Eina_Tthread self;
+   Eina_Thread self;
 #endif
    Eina_Lock mutex;
 };
@@ -363,7 +363,7 @@ eina_chained_mempool_repack(void *data,
    if (!eina_lock_take(&pool->mutex))
      {
 #ifdef EINA_HAVE_DEBUG_THREADS
-        assert(eina_threadequal(pool->self, eina_threadself()));
+        assert(eina_thread_equal(pool->self, eina_thread_self()));
 #endif
      }
 
@@ -481,7 +481,7 @@ eina_chained_mempool_init(const char *context,
 #endif
 
 #ifdef EINA_HAVE_DEBUG_THREADS
-   mp->self = eina_threadself();
+   mp->self = eina_thread_self();
 #endif
 
    eina_lock_new(&mp->mutex);
@@ -525,7 +525,7 @@ eina_chained_mempool_shutdown(void *data)
    eina_lock_free(&mp->mutex);
 
 #ifdef EINA_HAVE_DEBUG_THREADS
-   assert(eina_threadequal(mp->self, eina_threadself()));
+   assert(eina_thread_equal(mp->self, eina_thread_self()));
 #endif
 
    free(mp);