Go to the documentation of this file.
31 #if (CH_CFG_USE_DELEGATES == TRUE) || defined(__DOXYGEN__)
49 #if CH_CFG_USE_MESSAGES == FALSE
50 #error "CH_CFG_USE_DELEGATES requires CH_CFG_USE_MESSAGES"
static msg_t chDelegateCallDirect1(thread_t *tp, delegate_fn1_t func, msg_t p1)
Direct call to a function with one parameter.
void chDelegateDispatch(void)
Call messages dispatching.
msg_t __ch_delegate_fn0(va_list *argsp)
Veneer for functions with no parameters.
msg_t __ch_delegate_fn4(va_list *argsp)
Veneer for functions with four parameters.
msg_t(* delegate_fn3_t)(msg_t p1, msg_t p2, msg_t p3)
Type of a delegate function with three parameters.
msg_t __ch_delegate_fn1(va_list *argsp)
Veneer for functions with one parameter.
msg_t(* delegate_fn4_t)(msg_t p1, msg_t p2, msg_t p3, msg_t p4)
Type of a delegate function with four parameters.
msg_t chDelegateDispatchTimeout(sysinterval_t timeout)
Call messages dispatching with timeout.
Structure representing a thread.
msg_t __ch_delegate_fn2(va_list *argsp)
Veneer for functions with two parameters.
msg_t(* delegate_fn0_t)(void)
Type of a delegate function with no parameters.
msg_t(* delegate_fn2_t)(msg_t p1, msg_t p2)
Type of a delegate function with two parameters.
msg_t chDelegateCallVeneer(thread_t *tp, delegate_veneer_t veneer,...)
Triggers a function call on a delegate thread.
static msg_t chDelegateCallDirect4(thread_t *tp, delegate_fn4_t func, msg_t p1, msg_t p2, msg_t p3, msg_t p4)
Direct call to a function with four parameters.
uint64_t sysinterval_t
Type of time interval.
msg_t(* delegate_veneer_t)(va_list *argsp)
Type of a delegate veneer function.
static msg_t chDelegateCallDirect3(thread_t *tp, delegate_fn3_t func, msg_t p1, msg_t p2, msg_t p3)
Direct call to a function with three parameters.
msg_t(* delegate_fn1_t)(msg_t p1)
Type of a delegate function with one parameter.
static msg_t chDelegateCallDirect0(thread_t *tp, delegate_fn0_t func)
Direct call to a function with no parameters.
msg_t __ch_delegate_fn3(va_list *argsp)
Veneer for functions with three parameters.
static msg_t chDelegateCallDirect2(thread_t *tp, delegate_fn2_t func, msg_t p1, msg_t p2)
Direct call to a function with two parameters.