Home
last modified time | relevance | path

Searched refs:count_threads (Results 1 – 22 of 22) sorted by relevance

/third_party/libwebsockets/lib/core/
Dcontext.c105 for (n = 0; n < context->count_threads; n++) in lws_state_notify_protocol_init()
383 unsigned short count_threads = 1; in lws_create_context() local
446 if (info->count_threads) in lws_create_context()
447 count_threads = (unsigned short)info->count_threads; in lws_create_context()
449 if (count_threads > LWS_MAX_SMP) in lws_create_context()
450 count_threads = LWS_MAX_SMP; in lws_create_context()
456 size += count_threads * s1; in lws_create_context()
458 size += (count_threads * sizeof(struct lws)); in lws_create_context()
599 (count_threads * (size_t)plev->ops->evlib_size_pt) /* the pt evlib priv */; in lws_create_context()
840 context->undestroyed_threads = count_threads; in lws_create_context()
[all …]
Dlibwebsockets.c248 if (context->count_threads == 1) in lws_pthread_self_to_tsi()
251 for (n = 0; n < context->count_threads; n++) { in lws_pthread_self_to_tsi()
307 return context->count_threads; in lws_get_count_threads()
Dprivate-lib-core.h749 unsigned short count_threads; member
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-smp/
Dminimal-http-server-smp.c103 info.count_threads = (unsigned int)atoi(p); in main()
104 if (info.count_threads < 1 || info.count_threads > LWS_MAX_SMP) in main()
107 info.count_threads = COUNT_THREADS; in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-smp/
Dminimal-http-server-eventlib-smp.c119 info.count_threads = (unsigned int)atoi(p); in main()
120 if (info.count_threads < 1 || info.count_threads > LWS_MAX_SMP) in main()
123 info.count_threads = COUNT_THREADS; in main()
/third_party/libwebsockets/lib/core-net/
Dsorted-usec-list.c197 for (m = 0; m < ctx->count_threads; m++) { in lws_sul_nonmonotonic_adjust()
248 for (n = 0; n < ctx->count_threads; n++) { in lws_sul_earliest_wakeable_event()
336 for (n = 0; n < ctx->count_threads; n++) { in lws_sul_debug_zombies()
Dvhost.c1091 for (m = 0; m < context->count_threads; m++) { in lws_cancel_service()
1111 for (n = 0; n < context->count_threads; n++) {
1303 for (n = 0; n < context->count_threads; n++)
1402 for (n = 0; n < context->count_threads; n++)
Dwsi.c169 unsigned int n, m = context->count_threads; in lws_callback_all_protocol()
211 unsigned int n, m = context->count_threads; in lws_callback_all_protocol_vhost_args()
476 unsigned int n, m = context->count_threads; in lws_rx_flow_allow_all_protocol()
Dadopt.c33 for (; n < context->count_threads; n++) { in lws_get_idlest_tsi()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-init.c78 int i, n = context->count_threads; in lws_plat_init()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dminimal-ws-server.c168 info.count_threads = COUNT_THREADS; in main()
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c364 for (n = 0; n < context->count_threads; n++) in elops_init_context_uv()
376 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context1_uv()
403 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_uv()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
Dminimal-ws-server.c168 info.count_threads = COUNT_THREADS; in main()
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c279 for (n = 0; n < context->count_threads; n++) in elops_init_context_ev()
352 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_ev()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c253 for (n = 0; n < context->count_threads; n++) in elops_init_context_event()
450 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_event()
/third_party/libwebsockets/lib/plat/unix/
Dunix-init.c54 for (n = 0; n < context->count_threads; n++) in lws_sul_plat_unix()
/third_party/libwebsockets/lib/roles/http/server/
Dlejp-conf.c324 a->info->count_threads = (unsigned int)atoi(ctx->buf); in lejp_globals_cb()
408 i[0] = a->info->count_threads; in lejp_vhosts_cb()
425 a->info->count_threads = i[0]; in lejp_vhosts_cb()
Dserver.c197 limit = cx->count_threads; in _lws_vhost_init_server_af()
264 if (n || cx->count_threads > 1) /* ... also implied by threads > 1 */ in _lws_vhost_init_server_af()
/third_party/libwebsockets/include/libwebsockets/
Dlws-context-vhost.h623 unsigned int count_threads; member
/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c461 for (n = 0; n < (int)context->count_threads; n++) { in elops_destroy_context2_glib()
/third_party/libwebsockets/lib/secure-streams/
Dpolicy-common.c448 for (n = 0; n < context->count_threads; n++) { in lws_ss_policy_set()
/third_party/libwebsockets/READMEs/
DREADME.coding.md886 unsigned int count_threads;
891 Set count_threads to n to tell lws you will have n simultaneous service threads