Exemple #1
0
 /// <summary>
 /// This function polls for new events without blocking
 /// </summary>
 public void RunOnce()
 {
     CheckError(Uvi.uv_run(this.Handle, Uvi.uv_run_mode.UV_RUN_ONCE));
 }
Exemple #2
0
 /// <summary>
 /// This function starts the event loop. It blocks until the reference count
 /// of the loop drops to zero.
 /// </summary>
 public void Run()
 {
     CheckError(Uvi.uv_run(this.Handle, Uvi.uv_run_mode.UV_RUN_DEFAULT));
 }