Searched refs:ptpriv (Results 1 – 2 of 2) sorted by relevance
98 struct lws_pt_eventlibs_libuv *ptpriv = pt_to_priv_uv(pt); in lws_io_cb() local107 if (!ptpriv->thread_valid) { in lws_io_cb()109 ptpriv->uv_thread = uv_thread_self(); in lws_io_cb()110 ptpriv->thread_valid = 1; in lws_io_cb()154 uv_idle_start(&ptpriv->idle, lws_uv_idle); in lws_io_cb()261 struct lws_pt_eventlibs_libuv *ptpriv = pt_to_priv_uv(pt); in lws_uv_close_cb_sa() local270 ptpriv->extant_handles, in lws_uv_close_cb_sa()276 ptpriv->extant_handles) in lws_uv_close_cb_sa()497 struct lws_pt_eventlibs_libuv *ptpriv = pt_to_priv_uv(pt); in elops_accept_uv() local501 if (!ptpriv->thread_valid) { in elops_accept_uv()[all …]
249 struct lws_pt_eventlibs_sdevent *ptpriv = pt_to_priv_sd(pt); in init_pt_sd() local253 ptpriv->pt = pt; in init_pt_sd()256 if (!ptpriv->io_loop) { in init_pt_sd()269 ptpriv->io_loop = loop; in init_pt_sd()282 &ptpriv->sultimer, in init_pt_sd()292 &ptpriv->idletimer, in init_pt_sd()300 sd_event_source_set_enabled(ptpriv->idletimer, SD_EVENT_ON); in init_pt_sd()302 if (0 > sd_event_source_set_priority(ptpriv->idletimer, in init_pt_sd()362 struct lws_pt_eventlibs_sdevent *ptpriv = pt_to_priv_sd(pt); in run_pt_sd() local364 if (ptpriv->io_loop) in run_pt_sd()[all …]