Clarify the description of the callout_active() macro: It is cleared by
callout_stop, callout_drain, and callout_deactivate, but is not automatically cleared when a callout returns.
This commit is contained in:
parent
7d9ace1d46
commit
86fd19de7b
@ -383,7 +383,9 @@ callout_handle_init(struct callout_handle *handle)
|
||||
*
|
||||
* <sys/callout.h> defines three convenience macros:
|
||||
*
|
||||
* callout_active() - returns truth if callout has not been serviced
|
||||
* callout_active() - returns truth if callout has not been stopped,
|
||||
* drained, or deactivated since the last time the callout was
|
||||
* reset.
|
||||
* callout_pending() - returns truth if callout is still waiting for timeout
|
||||
* callout_deactivate() - marks the callout as having been serviced
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user