From: caro Date: Sat, 23 Oct 2010 17:17:03 +0000 (+0000) Subject: put EFL_DEBUG_THREADS inside EFL_HAVE_POSIX_THREADS X-Git-Tag: 2.0_alpha~70^2~311 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fdf5792bcce32a185ba216310f397e32d3cb795;p=framework%2Fuifw%2Feina.git put EFL_DEBUG_THREADS inside EFL_HAVE_POSIX_THREADS git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@53816 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/mp/one_big/eina_one_big.c b/src/modules/mp/one_big/eina_one_big.c index 5feb70d..7f1cc21 100644 --- a/src/modules/mp/one_big/eina_one_big.c +++ b/src/modules/mp/one_big/eina_one_big.c @@ -102,9 +102,11 @@ eina_one_big_malloc(void *data, __UNUSED__ unsigned int size) WaitForSingleObject(pool->mutex, INFINITE); # endif } -# ifdef EFL_DEBUG_THREADS +# ifdef EFL_HAVE_POSIX_THREADS +# ifdef EFL_DEBUG_THREADS else assert(pthread_equal(pool->self, pthread_self())); +# endif # endif #endif @@ -187,9 +189,11 @@ eina_one_big_free(void *data, void *ptr) WaitForSingleObject(pool->mutex, INFINITE); # endif } -# ifdef EFL_DEBUG_THREADS +# ifdef EFL_HAVE_POSIX_THREADS +# ifdef EFL_DEBUG_THREADS else assert(pthread_equal(pool->self, pthread_self())); +# endif # endif #endif @@ -303,9 +307,11 @@ eina_one_big_shutdown(void *data) WaitForSingleObject(pool->mutex, INFINITE); # endif } -# ifdef EFL_DEBUG_THREADS +# ifdef EFL_HAVE_POSIX_THREADS +# ifdef EFL_DEBUG_THREADS else assert(pthread_equal(pool->self, pthread_self())); +# endif # endif #endif