Lines Matching refs:pt_to_loop
31 #define pt_to_loop(_pt) ((_pt)->glib.loop) macro
32 #define pt_to_g_main_context(_pt) g_main_loop_get_context(pt_to_loop(_pt))
222 g_main_loop_quit(pt_to_loop(pt)); in lws_glib_sigint_cb()
328 if (!pt_to_loop(pt) || wsi->context->being_destroyed || pt->is_destroyed) in elops_io_glib()
364 if (pt_to_loop(pt)) in elops_run_pt_glib()
365 g_main_loop_run(pt_to_loop(pt)); in elops_run_pt_glib()
399 if (!pt_to_loop(pt)) in elops_destroy_pt_glib()
416 g_main_loop_quit(pt_to_loop(pt)); in elops_destroy_pt_glib()
418 g_main_loop_unref(pt_to_loop(pt)); in elops_destroy_pt_glib()
421 pt_to_loop(pt) = NULL; in elops_destroy_pt_glib()
432 g_main_loop_quit(pt_to_loop(pt)); in elops_destroy_context2_glib()