Home
last modified time | relevance | path

Searched refs:pthread_spam (Results 1 – 6 of 6) sorted by relevance

/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/
Dprotocol_lws_minimal.c45 pthread_t pthread_spam[2]; member
88 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam()
89 if (pthread_equal(pthread_self(), vhd->pthread_spam[n])) in thread_spam()
192 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
193 if (pthread_create(&vhd->pthread_spam[n], NULL, in callback_minimal()
204 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
205 if (vhd->pthread_spam[n]) in callback_minimal()
206 pthread_join(vhd->pthread_spam[n], &retval); in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dprotocol_lws_minimal.c45 pthread_t pthread_spam[2]; member
88 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam()
89 if (pthread_equal(pthread_self(), vhd->pthread_spam[n])) in thread_spam()
193 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
194 if (pthread_create(&vhd->pthread_spam[n], NULL, in callback_minimal()
205 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
206 pthread_join(vhd->pthread_spam[n], &retval); in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
Dprotocol_lws_minimal.c49 pthread_t pthread_spam[2]; member
92 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam()
93 if (pthread_equal(pthread_self(), vhd->pthread_spam[n])) in thread_spam()
196 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
197 if (pthread_create(&vhd->pthread_spam[n], NULL, in callback_minimal()
208 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
209 pthread_join(vhd->pthread_spam[n], &retval); in callback_minimal()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/
Dminimal-http-server-sse-ring.c57 pthread_t pthread_spam[2]; member
97 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam()
98 if (pthread_equal(pthread_self(), vhd->pthread_spam[n])) in thread_spam()
185 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_sse()
186 if (pthread_create(&vhd->pthread_spam[n], NULL, in callback_sse()
197 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_sse()
198 pthread_join(vhd->pthread_spam[n], &retval); in callback_sse()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/
Dminimal-ws-client.c45 pthread_t pthread_spam[2]; member
83 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam()
84 if (pthread_equal(pthread_self(), vhd->pthread_spam[n])) in thread_spam()
190 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal_broker()
191 if (pthread_create(&vhd->pthread_spam[n], NULL, in callback_minimal_broker()
204 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal_broker()
205 pthread_join(vhd->pthread_spam[n], &retval); in callback_minimal_broker()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-threads/
Dminimal-secure-streams-threads.c40 static pthread_t pthread_spam; variable
133 if (pthread_create(&pthread_spam, NULL, thread_spam, NULL)) { in myss_state()
142 pthread_join(pthread_spam, &retval); in myss_state()