mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-09 13:30:24 +01:00
[cairo-mutex] Use CAIRO_MUTEX_NOOP when applicable
This commit is contained in:
parent
5dda76c90f
commit
2067d6fa90
1 changed files with 1 additions and 1 deletions
|
|
@ -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 { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue