Lines Matching defs:handle
55 lws_uv_idle(uv_idle_t *handle
60 { struct lws_pt_eventlibs_libuv *ptpr = lws_container_of(handle,
87 uv_idle_stop(handle);
165 * libuv handle closures through its event loop. So this tries to close all
244 // static void lws_uv_walk_cb(uv_handle_t *handle, void *arg)
246 // if (!uv_is_closing(handle))
247 // lwsl_err("%s: handle %p still alive on loop\n", __func__, handle);
258 lws_uv_close_cb_sa(uv_handle_t *handle)
261 LWS_UV_REFCOUNT_STATIC_HANDLE_TO_PT(handle);
276 if (LWS_UV_REFCOUNT_STATIC_HANDLE_DESTROYED(handle) ||
289 * static asset lws had a UV handle for is down.
294 lwsl_cx_info(context, "thr %d: seen final static handle gone", tsi);
441 * libuv has to do his own close handle processing asynchronously
460 lws_libuv_closewsi_m(uv_handle_t* handle)
462 lws_sockfd_type sockfd = (lws_sockfd_type)(lws_intptr_t)handle->data;
466 lws_free(handle);
477 * the "manual" variant only closes the handle itself and the
478 * related fd. handle->data is the fd.
788 lws_libuv_closewsi(uv_handle_t* handle)
790 struct lws *wsi = (struct lws *)handle->data;
829 /* it's our job to close the handle finally */
830 lws_free(handle);
863 uv_handle_t* handle;
878 * handle->data.
881 handle = (uv_handle_t *)w_read->pwatcher;
887 uv_close(handle, lws_libuv_closewsi);