/third_party/libwebsockets/lib/core/ |
D | context.c | 105 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 …]
|
D | libwebsockets.c | 248 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()
|
D | private-lib-core.h | 749 unsigned short count_threads; member
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-smp/ |
D | minimal-http-server-smp.c | 103 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/ |
D | minimal-http-server-eventlib-smp.c | 119 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/ |
D | sorted-usec-list.c | 197 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()
|
D | vhost.c | 1091 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++)
|
D | wsi.c | 169 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()
|
D | adopt.c | 33 for (; n < context->count_threads; n++) { in lws_get_idlest_tsi()
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-init.c | 78 int i, n = context->count_threads; in lws_plat_init()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/ |
D | minimal-ws-server.c | 168 info.count_threads = COUNT_THREADS; in main()
|
/third_party/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 364 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/ |
D | minimal-ws-server.c | 168 info.count_threads = COUNT_THREADS; in main()
|
/third_party/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 279 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/ |
D | libevent.c | 253 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/ |
D | unix-init.c | 54 for (n = 0; n < context->count_threads; n++) in lws_sul_plat_unix()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | lejp-conf.c | 324 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()
|
D | server.c | 197 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/ |
D | lws-context-vhost.h | 623 unsigned int count_threads; member
|
/third_party/libwebsockets/lib/event-libs/glib/ |
D | glib.c | 461 for (n = 0; n < (int)context->count_threads; n++) { in elops_destroy_context2_glib()
|
/third_party/libwebsockets/lib/secure-streams/ |
D | policy-common.c | 448 for (n = 0; n < context->count_threads; n++) { in lws_ss_policy_set()
|
/third_party/libwebsockets/READMEs/ |
D | README.coding.md | 886 unsigned int count_threads; 891 Set count_threads to n to tell lws you will have n simultaneous service threads
|