Home
last modified time | relevance | path

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

/external/libwebsockets/lib/core/
Dcontext.c113 for (n = 0; n < context->count_threads; n++) in lws_state_notify_protocol_init()
199 int n, count_threads = 1; in lws_create_context() local
249 if (info->count_threads) in lws_create_context()
250 count_threads = info->count_threads; in lws_create_context()
252 if (count_threads > LWS_MAX_SMP) in lws_create_context()
253 count_threads = LWS_MAX_SMP; in lws_create_context()
259 size += count_threads * (s1 + sizeof(struct lws)); in lws_create_context()
292 context->count_threads = count_threads; in lws_create_context()
417 int mf = lpf * context->count_threads; in lws_create_context()
529 if (context->count_threads) in lws_create_context()
[all …]
Dlibwebsockets.c195 for (n = 0; n < context->count_threads; n++) { in lws_pthread_self_to_tsi()
251 return context->count_threads; in lws_get_count_threads()
Dprivate-lib-core.h516 short count_threads; member
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-smp/
Dminimal-http-server-smp.c97 info.count_threads = atoi(p); in main()
98 if (info.count_threads < 1 || info.count_threads > LWS_MAX_SMP) in main()
101 info.count_threads = COUNT_THREADS; in main()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-smp/
Dminimal-http-server-eventlib-smp.c112 info.count_threads = atoi(p); in main()
113 if (info.count_threads < 1 || info.count_threads > LWS_MAX_SMP) in main()
116 info.count_threads = COUNT_THREADS; in main()
/external/libwebsockets/lib/plat/windows/
Dwindows-init.c63 int i, n = context->count_threads; in lws_plat_init()
96 int n = context->count_threads; in lws_plat_context_early_destroy()
/external/libwebsockets/lib/core-net/
Dstats.c137 for (m = 0; m < context->count_threads; m++) { in lws_stats_log_dump()
149 for (m = 0; m < context->count_threads; m++) in lws_stats_log_dump()
180 for (n = 0; n < context->count_threads; n++) { in lws_stats_log_dump()
Dserver.c240 for (n = 0; n < context->count_threads; n++) { in lws_json_dump_context()
301 for (n = 0; n < context->count_threads; n++) { in lws_json_dump_context()
Dwsi.c130 unsigned int n, m = context->count_threads; in lws_callback_all_protocol()
155 unsigned int n, m = context->count_threads; in lws_callback_all_protocol_vhost_args()
281 unsigned int n, m = context->count_threads; in lws_rx_flow_allow_all_protocol()
Dconnect.c105 for (n = 0; n < i->context->count_threads; n++) in lws_client_connect_via_info()
Dvhost.c884 short m = context->count_threads; in lws_cancel_service()
910 for (n = 0; n < context->count_threads; n++) {
Dadopt.c33 for (; n < context->count_threads; n++) { in lws_get_idlest_tsi()
/external/libwebsockets/lib/event-libs/libuv/
Dlibuv.c151 m = context->count_threads; in lws_libuv_stop()
229 for (n = 0; n < context->count_threads; n++) { in lws_uv_close_cb_sa()
484 for (n = 0; n < context->count_threads; n++) in elops_init_context_uv()
496 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context1_uv()
524 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_uv()
914 for (m = 0; m < context->count_threads; m++) in lws_libuv_closewsi()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dminimal-ws-server.c121 info.count_threads = COUNT_THREADS; in main()
/external/libwebsockets/lib/event-libs/libev/
Dlibev.c253 for (n = 0; n < context->count_threads; n++) in elops_init_context_ev()
320 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_ev()
/external/libwebsockets/lib/event-libs/glib/
Dglib.c233 for (n = 0; n < context->count_threads; n++) in elops_init_context_glib()
430 for (n = 0; n < (int)context->count_threads; n++) { in elops_destroy_context2_glib()
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c232 for (n = 0; n < context->count_threads; n++) in elops_init_context_event()
406 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_event()
/external/libwebsockets/include/libwebsockets/
Dlws-context-vhost.h377 unsigned int count_threads; member
/external/libwebsockets/lib/roles/http/server/
Dlejp-conf.c310 a->info->count_threads = atoi(ctx->buf); in lejp_globals_cb()
387 i[0] = a->info->count_threads; in lejp_vhosts_cb()
405 a->info->count_threads = i[0]; in lejp_vhosts_cb()
Dserver.c173 limit = vhost->context->count_threads; in _lws_vhost_init_server()
244 if (n && vhost->context->count_threads > 1) in _lws_vhost_init_server()
/external/libwebsockets/READMEs/
DREADME.coding.md922 unsigned int count_threads;
927 Set count_threads to n to tell lws you will have n simultaneous service threads