Home
last modified time | relevance | path

Searched refs:ptpriv (Results 1 – 2 of 2) sorted by relevance

/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c98 struct lws_pt_eventlibs_libuv *ptpriv = pt_to_priv_uv(pt); in lws_io_cb() local
107 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() local
270 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() local
501 if (!ptpriv->thread_valid) { in elops_accept_uv()
[all …]
/third_party/libwebsockets/lib/event-libs/sdevent/
Dsdevent.c249 struct lws_pt_eventlibs_sdevent *ptpriv = pt_to_priv_sd(pt); in init_pt_sd() local
253 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() local
364 if (ptpriv->io_loop) in run_pt_sd()
[all …]