예제 #1
0
파일: Loop.cs 프로젝트: PlumpMath/sharpuv
 /// <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));
 }
예제 #2
0
파일: Loop.cs 프로젝트: PlumpMath/sharpuv
 /// <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));
 }