Example #1
0
 public void Close(HandleBase handleBase, Close_Callback close_cb)
 {
     _uv_close(handleBase.InternalGetHandle(), close_cb);
 }
Example #2
0
 /// <summary>
 /// Async handles are active when you do uv_async_init, so unless you uv_unref them, the loop will stay alive.
 /// </summary>
 /// <param name="handleBase"></param>
 public void UvRef(HandleBase handleBase)
 {
     _uv_ref(handleBase);
 }
Example #3
0
 /// <summary>
 /// The libuv event loop (if run in the default mode) will run until there are no active and referenced handles left.
 ///call this method for unref handle
 /// </summary>
 /// <param name="handleBase"></param>
 public void UvUnRef(HandleBase handleBase)
 {
     _uv_unref(handleBase);
 }