pomp_loop_wakeup

Function pomp_loop_wakeup 

Source
pub unsafe extern "C" fn pomp_loop_wakeup(
    loop_: *mut pomp_loop,
) -> c_int
Expand description

Wakeup a loop from a wait in pomp_loop_wait_and_process. @param loop : loop. @return 0 in case of success, negative errno value in case of error.

@remarks: this function is safe to call from another thread that the one associated normally with the loop. It is also safe to call it from a signal handler. However caller must ensure that the given context will be valid for the complete duration of the call.