Lines Matching defs:context
85 struct lws_context *context;
86 struct lws_threadpool *tp_list; /* context list of threadpools */
311 * this gets called from each tsi service context after the service was
313 * tsi context for any wsis bound to a worked thread that need it
317 lws_threadpool_tsi_context(struct lws_context *context, int tsi)
323 lws_context_lock(context, __func__);
325 tp = context->tp_list_head;
350 * context
374 * context
386 lws_context_unlock(context);
443 * from each tsi service context, where we can safely ask for
687 lws_threadpool_create(struct lws_context *context,
708 lws_context_lock(context, __func__);
710 tp->context = context;
711 tp->tp_list = context->tp_list_head;
712 context->tp_list_head = tp;
714 lws_context_unlock(context);
780 /* remove us from the context list of threadpools */
782 lws_context_lock(tp->context, __func__);
783 ptp = &tp->context->tp_list_head;
793 lws_context_unlock(tp->context);
916 * context as a request to close