summaryrefslogtreecommitdiff
path: root/runqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'runqueue.h')
-rw-r--r--runqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runqueue.h b/runqueue.h
index f182e4e..08879d4 100644
--- a/runqueue.h
+++ b/runqueue.h
@@ -56,8 +56,8 @@ struct runqueue_task_type {
* called to request cancelling a task
*
* int type is used as an optional hint for the method to be used when
- * cancelling the task, e.g. a signal number for processes. Calls
- * runqueue_task_complete when done.
+ * cancelling the task, e.g. a signal number for processes. The cancel
+ * callback should call runqueue_task_complete when done.
*/
void (*cancel)(struct runqueue *q, struct runqueue_task *t, int type);