Home
last modified time | relevance | path

Searched defs:_lock (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/external/lgpl3/mpfr/dist/src/
Dmpfr-thread.h64 #define MPFR_LOCK_DECL(_lock) \ argument
76 #define MPFR_LOCK_INIT(_lock) MPFR_LOCK_C(mtx_init(&(_lock), mtx_plain)) argument
77 #define MPFR_LOCK_CLEAR(_lock) do { mtx_destroy(&(_lock)); } while (0) argument
78 #define MPFR_LOCK_READ(_lock) MPFR_LOCK_C(mtx_lock(&(_lock))) argument
79 #define MPFR_UNLOCK_READ(_lock) MPFR_LOCK_C(mtx_unlock(&(_lock))) argument
80 #define MPFR_LOCK_WRITE(_lock) MPFR_LOCK_C(mtx_lock(&(_lock))) argument
81 #define MPFR_UNLOCK_WRITE(_lock) MPFR_LOCK_C(mtx_unlock(&(_lock))) argument
83 #define MPFR_LOCK_READ2WRITE(_lock) do {} while (0) argument
84 #define MPFR_LOCK_WRITE2READ(_lock) do {} while (0) argument
110 #define MPFR_LOCK_DECL(_lock) \ argument
[all …]
/netbsd/src/lib/libc/stdio/
Dfileext.h40 mutex_t _lock; /* Lock for FLOCKFILE/FUNLOCKFILE */ member