Home
last modified time | relevance | path

Searched refs:lock_ring (Results 1 - 5 of 5) sorted by relevance

/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
H A Dprotocol_lws_minimal.c51 pthread_mutex_t lock_ring; /* serialize access to the ring buffer */ member
52 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */
64 * Access is serialized by vhd->lock_ring.
97 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in thread_spam()
131 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in thread_spam()
171 pthread_mutex_init(&vhd->lock_ring, NULL); in callback_minimal()
214 pthread_mutex_destroy(&vhd->lock_ring); in callback_minimal()
219 pthread_mutex_lock(&vhd->lock_ring); in callback_minimal()
223 pthread_mutex_unlock(&vhd->lock_ring); in callback_minimal()
228 pthread_mutex_lock(&vhd->lock_ring); in callback_minimal()
[all...]
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/
H A Dprotocol_lws_minimal.c47 pthread_mutex_t lock_ring; /* serialize access to the ring buffer */ member
48 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */
60 * Access is serialized by vhd->lock_ring.
97 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in thread_spam()
127 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in thread_spam()
167 pthread_mutex_init(&vhd->lock_ring, NULL); in callback_minimal()
211 pthread_mutex_destroy(&vhd->lock_ring); in callback_minimal()
228 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in callback_minimal()
232 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in callback_minimal()
240 pthread_mutex_unlock(&vhd->lock_ring); /* } rin in callback_minimal()
[all...]
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
H A Dprotocol_lws_minimal.c47 pthread_mutex_t lock_ring; /* serialize access to the ring buffer */ member
48 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */
60 * Access is serialized by vhd->lock_ring.
97 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in thread_spam()
127 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in thread_spam()
168 pthread_mutex_init(&vhd->lock_ring, NULL); in callback_minimal()
211 pthread_mutex_destroy(&vhd->lock_ring); in callback_minimal()
228 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in callback_minimal()
232 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in callback_minimal()
244 pthread_mutex_unlock(&vhd->lock_ring); /* } rin in callback_minimal()
[all...]
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/
H A Dminimal-ws-client.c49 pthread_mutex_t lock_ring; /* serialize access to the ring buffer */ member
92 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in thread_spam()
121 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in thread_spam()
186 pthread_mutex_init(&vhd->lock_ring, NULL); in callback_minimal_broker()
211 pthread_mutex_destroy(&vhd->lock_ring); in callback_minimal_broker()
231 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in callback_minimal_broker()
240 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock */ in callback_minimal_broker()
253 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in callback_minimal_broker()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/
H A Dminimal-http-server-sse-ring.c59 pthread_mutex_t lock_ring; /* serialize access to the ring buffer */ member
106 pthread_mutex_lock(&vhd->lock_ring); /* --------- ring lock { */ in thread_spam()
135 pthread_mutex_unlock(&vhd->lock_ring); /* } ring lock ------- */ in thread_spam()
181 pthread_mutex_init(&vhd->lock_ring, NULL); in callback_sse()
203 pthread_mutex_destroy(&vhd->lock_ring); in callback_sse()

Completed in 3 milliseconds