Lines Matching defs:context
52 lws_sul_schedule(lsp->info.vh->context, lsp->info.tsi,
65 lws_create_basic_wsi(struct lws_context *context, int tsi,
68 struct lws_context_per_thread *pt = &context->pt[tsi];
71 if (!context->vhost_list)
74 if ((unsigned int)context->pt[tsi].fds_count ==
75 context->fd_limit_per_thread - 1) {
80 lws_context_lock(context, __func__);
81 new_wsi = __lws_wsi_create_with_role(context, tsi, ops, NULL);
82 lws_context_unlock(context);
182 lws_sul_schedule(lsp->info.vh->context, lsp->info.tsi,
263 lws_sul_schedule(lsp->context, 0, &lsp->sul_poll,
342 const struct lws_protocols *pcol = i->vh->context->vhost_list->protocols;
343 struct lws_context *context = i->vh->context;
368 lsp->context = context;
411 lsp->stdwsi[n] = lws_create_basic_wsi(i->vh->context, i->tsi,
418 __lws_lc_tag(i->vh->context, &i->vh->context->lcg[LWSLCG_WSI],
465 lws_sul_schedule(context, 0, &lsp->sul_poll, windows_pipe_poll_hack,
507 lws_sul_schedule(context, i->tsi, &lsp->sul, lws_spawn_timeout,
523 lws_sul_schedule(context, i->tsi, &lsp->sul,
563 lws_sul_schedule(lsp->info.vh->context, lsp->info.tsi,