Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 4 of 4) sorted by relevance

/mOS-networking-stack/core/src/include/
H A Dtcp_stream_queue.h10 #define SQ_LOCK_INIT(lock, errmsg, action); \ argument
15 #define SQ_LOCK_DESTROY(lock) pthread_spin_destroy(lock) argument
16 #define SQ_LOCK(lock) pthread_spin_lock(lock) argument
17 #define SQ_UNLOCK(lock) pthread_spin_unlock(lock) argument
19 #define SQ_LOCK_INIT(lock, errmsg, action); \ argument
25 #define SQ_LOCK(lock) pthread_mutex_lock(lock) argument
26 #define SQ_UNLOCK(lock) pthread_mutex_unlock(lock) argument
30 #define SQ_LOCK_INIT(lock, errmsg, action) (void) 0 argument
31 #define SQ_LOCK_DESTROY(lock) (void) 0 argument
32 #define SQ_LOCK(lock) (void) 0 argument
[all …]
H A Dmtcp.h117 #define SBUF_LOCK_INIT(lock, errmsg, action); \ argument
122 #define SBUF_LOCK_DESTROY(lock) pthread_spin_destroy(lock) argument
123 #define SBUF_LOCK(lock) pthread_spin_lock(lock) argument
124 #define SBUF_UNLOCK(lock) pthread_spin_unlock(lock) argument
126 #define SBUF_LOCK_INIT(lock, errmsg, action); \ argument
131 #define SBUF_LOCK_DESTROY(lock) pthread_mutex_destroy(lock) argument
132 #define SBUF_LOCK(lock) pthread_mutex_lock(lock) argument
133 #define SBUF_UNLOCK(lock) pthread_mutex_unlock(lock) argument
/mOS-networking-stack/core/src/
H A Daddr_pool.c36 pthread_mutex_t lock; member
H A Darp.c56 pthread_mutex_t lock; member