Lines Matching refs:idle
76 if (lws_gs_valid(pt_to_priv_glib(pt)->idle))
79 pt_to_priv_glib(pt)->idle.gs = g_idle_source_new();
80 if (!pt_to_priv_glib(pt)->idle.gs)
83 g_source_set_callback(pt_to_priv_glib(pt)->idle.gs,
85 pt_to_priv_glib(pt)->idle.tag = g_source_attach(
86 pt_to_priv_glib(pt)->idle.gs, pt_to_g_main_context(pt));
144 if (!lws_gs_valid(pt_to_priv_glib(pt)->idle))
220 * For glib, this disables the idle callback. Otherwise we keep
223 * We reenable the idle callback on the next network or scheduled event
226 lws_gs_destroy(pt_to_priv_glib(pt)->idle);
443 lws_gs_destroy(ptpr->idle);