Пример #1
0
        private static void IdleCallback(IntPtr handle)
        {
            var idle = UVHandle.FromIntPtr <UVIdleHandle>(handle);

            idle.mCallback(idle);
        }
Пример #2
0
 public static extern int uv_fileno(UVHandle handle, ref IntPtr socket);
Пример #3
0
 public static extern void uv_unref(UVHandle handle);
Пример #4
0
 public static void close(UVHandle handle, uv_close_cb close_cb)
 {
     handle.Validate(closed: true);
     uv_close(handle.InternalGetHandle(), close_cb);
 }
Пример #5
0
 public static void fileno(UVHandle handle, ref IntPtr socket)
 {
     handle.Validate();
     ThrowIfErrored(uv_fileno(handle, ref socket));
 }
Пример #6
0
 public static void unref(UVHandle handle)
 {
     handle.Validate();
     uv_unref(handle);
 }