Exemple #1
0
 /// <summary>
 /// Runs the event loop in specified mode.
 /// </summary>
 /// <param name="mode">Loop run mode.</param>
 /// <returns>Run status (depends on specified mode).</returns>
 public int Run(UvLoopRunMode mode = UvLoopRunMode.RunDefault)
 {
     this.EnsureCallingThread();
     return(Libuv.EnsureSuccess(Libuv.uv_run(this, mode)));
 }
Exemple #2
0
 public static extern int uv_run(UvLoop handle, UvLoopRunMode mode);