private static void IdleCallback(IntPtr handle) { var idle = UVHandle.FromIntPtr <UVIdleHandle>(handle); idle.mCallback(idle); }
public static extern int uv_fileno(UVHandle handle, ref IntPtr socket);
public static extern void uv_unref(UVHandle handle);
public static void close(UVHandle handle, uv_close_cb close_cb) { handle.Validate(closed: true); uv_close(handle.InternalGetHandle(), close_cb); }
public static void fileno(UVHandle handle, ref IntPtr socket) { handle.Validate(); ThrowIfErrored(uv_fileno(handle, ref socket)); }
public static void unref(UVHandle handle) { handle.Validate(); uv_unref(handle); }