Пример #1
0
 unsafe public void timer_start(UvTimerHandle handle, uv_timer_cb cb, long timeout, long repeat)
 {
     handle.Validate();
     ThrowIfErrored(_uv_timer_start(handle, cb, timeout, repeat));
 }
Пример #2
0
 unsafe public void timer_stop(UvTimerHandle handle)
 {
     handle.Validate();
     ThrowIfErrored(_uv_timer_stop(handle));
 }
Пример #3
0
 unsafe public void timer_init(UvLoopHandle loop, UvTimerHandle handle)
 {
     loop.Validate();
     handle.Validate();
     ThrowIfErrored(_uv_timer_init(loop, handle));
 }