Lines Matching defs:context
39 static struct lws_context *context;
100 lws_cancel_service(context);
194 if (lws_ss_create(context, 0, &ssi_lws_threads, NULL,
209 lws_sul_schedule(context, 0, &sul_timeout, sul_timeout_cb,
259 /* create the context */
261 context = lws_create_context(&info);
262 if (!context) {
268 if (!lws_create_vhost(context, &info)) {
276 while (lws_service(context, 0) >= 0 && !interrupted)
291 lws_context_destroy(context);