typedef enum { CTL_TIMEOUT_NONE, CTL_TIMEOUT_INFINITE, CTL_TIMEOUT_ABSOLUTE, CTL_TIMEOUT_DELAY, CTL_TIMEOUT_NOW } CTL_TIMEOUT_t;
CTL_TIMEOUT_t defines the type of timeout for a blocking function call.
Constant | Description |
CTL_TIMEOUT_NONE | No timeout — block indefinitely. |
CTL_TIMEOUT_INFINITE | Identical to CTL_TIMEOUT_NONE. |
CTL_TIMEOUT_ABSOLUTE | The timeout is an absolute time. |
CTL_TIMEOUT_DELAY | The timeout is relative to the current time. |
CTL_TIMEOUT_NOW | The timeout happens immediately — no rescheduling occurs. |