Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.4 KB

idle.rst

File metadata and controls

62 lines (35 loc) · 1.4 KB

:cuv_idle_t --- Idle handle

Idle handles will run the given callback once per loop iteration, right before the :cuv_prepare_t handles.

Note

The notable difference with prepare handles is that when there are active idle handles, the loop will perform a zero timeout poll instead of blocking for i/o.

Warning

Despite the name, idle handles will get their callbacks called on every loop iteration, not when the loop is actually "idle".

Data types

Public members

N/A

The :cuv_handle_t members also apply.

API

The :cuv_handle_t API functions also apply.