예제 #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);
 }