[cairo-mutex] Use CAIRO_MUTEX_NOOP when applicable

This commit is contained in:
Behdad Esfahbod 2007-04-19 16:23:14 -04:00
parent 5dda76c90f
commit 2067d6fa90

View file

@ -60,7 +60,7 @@ CAIRO_BEGIN_DECLS
typedef pthread_mutex_t cairo_mutex_t;
# define CAIRO_MUTEX_INITIALIZE() /* no-op */
# define CAIRO_MUTEX_INITIALIZE() CAIRO_MUTEX_NOOP
# define CAIRO_MUTEX_LOCK(name) pthread_mutex_lock (&name)
# define CAIRO_MUTEX_UNLOCK(name) pthread_mutex_unlock (&name)
# define CAIRO_MUTEX_INIT(mutex) do { \