示例#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);
 }