From a9c70e1a28ce6fc75238f5936f89b11530fc3d60 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler 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. SVN revision: 59090 --- legacy/evas/src/lib/include/evas_common.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/legacy/evas/src/lib/include/evas_common.h b/legacy/evas/src/lib/include/evas_common.h index c0e7628301..dad5c51ca7 100644 --- a/legacy/evas/src/lib/include/evas_common.h +++ b/legacy/evas/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)