From 36e3c328a6dfb99f2643ea718f711d171b9e6025 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 2 May 2011 00:45:16 +0000 Subject: [PATCH] add LKDBUG. sorry - was trying to ekep other changes out of svn for nowand didnt commit this bit. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59090 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/include/evas_common.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/lib/include/evas_common.h b/src/lib/include/evas_common.h index c0e7628..dad5c51 100644 --- a/src/lib/include/evas_common.h +++ b/src/lib/include/evas_common.h @@ -134,6 +134,7 @@ extern EAPI int _evas_log_dom_global; #define LKL(x) eina_lock_take(&(x)) #define LKT(x) eina_lock_take_try(&(x)) #define LKU(x) eina_lock_release(&(x)) +#define LKDBG(x) eina_lock_debug(&(x)) # define TH(x) pthread_t x # define THI(x) int x @@ -141,11 +142,11 @@ extern EAPI int _evas_log_dom_global; /* for rwlocks */ #define RWLK(x) pthread_rwlock_t x -#define RWLKI(x) pthread_rwlock_init(&(x), NULL); -#define RWLKD(x) pthread_rwlock_destroy(&(x)); -#define RDLKL(x) pthread_rwlock_rdlock(&(x)); -#define WRLKL(x) pthread_rwlock_wrlock(&(x)); -#define RWLKU(x) pthread_rwlock_unlock(&(x)); +#define RWLKI(x) pthread_rwlock_init(&(x), NULL) +#define RWLKD(x) pthread_rwlock_destroy(&(x)) +#define RDLKL(x) pthread_rwlock_rdlock(&(x)) +#define WRLKL(x) pthread_rwlock_wrlock(&(x)) +#define RWLKU(x) pthread_rwlock_unlock(&(x)) // even though in theory having every Nth rendered line done by a different @@ -162,6 +163,7 @@ extern EAPI int _evas_log_dom_global; # define TH(x) # define THI(x) # define TH_MAX 0 +# define LKDBG(x) /* for rwlocks */ #define RWLK(x) -- 2.7.4