Lines Matching defs:context
301 * If context->user is zero, we are the original process
335 struct lws_context *context;
351 n = -1; /* so original ends up with context.user as 0 below */
385 info.early_smd_opaque = &context;
389 /* create the context */
391 context = lws_create_context(&info);
392 if (!context) {
397 if (!lws_create_vhost(context, &info)) {
404 lws_sul_schedule(context, 0, &sul_timeout, sul_timeout_cb,
409 while (lws_service(context, 0) >= 0 && !interrupted)
413 lws_context_destroy(context);