Searched refs:lock (Results 1 – 9 of 9) sorted by relevance
| /mOS-networking-stack/core/src/include/ |
| H A D | tcp_stream_queue.h | 10 #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 20 if (pthread_mutex_init(lock, NULL)) { \ 24 #define SQ_LOCK_DESTROY(lock) pthread_mutex_destroy(lock) argument 25 #define SQ_LOCK(lock) pthread_mutex_lock(lock) argument 26 #define SQ_UNLOCK(lock) pthread_mutex_unlock(lock) argument 31 #define SQ_LOCK_DESTROY(lock) (void) 0 argument 32 #define SQ_LOCK(lock) (void) 0 argument [all …]
|
| H A D | mtcp.h | 117 #define SBUF_LOCK_INIT(lock, errmsg, action); \ argument 118 if (pthread_spin_init(lock, PTHREAD_PROCESS_PRIVATE)) { \ 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 127 if (pthread_mutex_init(lock, NULL)) { \ 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 D | addr_pool.c | 36 pthread_mutex_t lock; member 79 pthread_mutex_lock(&ap->lock); in CreateAddressPool() 103 pthread_mutex_unlock(&ap->lock); in CreateAddressPool() 149 pthread_mutex_lock(&ap->lock); in CreateAddressPoolPerCore() 189 pthread_mutex_unlock(&ap->lock); in CreateAddressPoolPerCore() 226 pthread_mutex_lock(&ap->lock); in FetchAddress() 263 pthread_mutex_unlock(&ap->lock); in FetchAddress() 278 pthread_mutex_lock(&ap->lock); in FetchAddressPerCore() 291 pthread_mutex_unlock(&ap->lock); in FetchAddressPerCore() 305 pthread_mutex_lock(&ap->lock); in FreeAddress() [all …]
|
| H A D | arp.c | 56 pthread_mutex_t lock; member 68 pthread_mutex_init(&g_arpm.lock, NULL); in InitARPTable() 191 pthread_mutex_lock(&g_arpm.lock); in RequestARP() 195 pthread_mutex_unlock(&g_arpm.lock); in RequestARP() 209 pthread_mutex_unlock(&g_arpm.lock); in RequestARP() 248 pthread_mutex_lock(&g_arpm.lock); in ProcessARPReply() 256 pthread_mutex_unlock(&g_arpm.lock); in ProcessARPReply() 318 pthread_mutex_lock(&g_arpm.lock); in ARPTimer() 327 pthread_mutex_unlock(&g_arpm.lock); in ARPTimer()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/initscripts/ |
| H A D | rc.lighttpd.redhat | 37 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog 46 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog 70 if [ -f /var/lock/subsys/$prog ]; then
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | depcomp | 384 lockdir=$base.d-lock
|
| H A D | ltmain.sh | 3455 lockfile=$output_obj.lock
|
| H A D | configure | 1491 --disable-libtool-lock avoid locking (might break parallel builds)
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/m4/ |
| H A D | libtool.m4 | 1282 [AC_ARG_ENABLE([libtool-lock], 1283 [AS_HELP_STRING([--disable-libtool-lock], 1570 [Whether to use a lock for old archive extraction]) 2109 # Check to see if we can do hard links to lock some files if needed 2118 AC_MSG_CHECKING([if we can lock with hard links]) 2133 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
|