diff options
author | zml <zml@FreeBSD.org> | 2010-06-01 16:04:01 +0000 |
---|---|---|
committer | zml <zml@FreeBSD.org> | 2010-06-01 16:04:01 +0000 |
commit | 7f5d6a35d6fa3ee4e0f0629aa54dbe3c7549b664 (patch) | |
tree | 800e1d5d39c5d5001f0b0a56fa9d521ea7616317 /sys/sys/_task.h | |
parent | ab54fd079f3a491799640409cffd4fd999b59303 (diff) | |
download | FreeBSD-src-7f5d6a35d6fa3ee4e0f0629aa54dbe3c7549b664.zip FreeBSD-src-7f5d6a35d6fa3ee4e0f0629aa54dbe3c7549b664.tar.gz |
Revert taskqueue(9) related commits until mdf@ is approved and can
resolve issues.
This reverts commits r207439, r208623, r208624
Diffstat (limited to 'sys/sys/_task.h')
-rw-r--r-- | sys/sys/_task.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/sys/_task.h b/sys/sys/_task.h index 68e236f..2a51e1b 100644 --- a/sys/sys/_task.h +++ b/sys/sys/_task.h @@ -36,19 +36,15 @@ * taskqueue_run(). The first argument is taken from the 'ta_context' * field of struct task and the second argument is a count of how many * times the task was enqueued before the call to taskqueue_run(). - * - * List of locks - * (c) const after init - * (q) taskqueue lock */ typedef void task_fn_t(void *context, int pending); struct task { - STAILQ_ENTRY(task) ta_link; /* (q) link for queue */ - u_short ta_pending; /* (q) count times queued */ - u_short ta_priority; /* (c) Priority */ - task_fn_t *ta_func; /* (c) task handler */ - void *ta_context; /* (c) argument for handler */ + STAILQ_ENTRY(task) ta_link; /* link for queue */ + u_short ta_pending; /* count times queued */ + u_short ta_priority; /* Priority */ + task_fn_t *ta_func; /* task handler */ + void *ta_context; /* argument for handler */ }; #endif /* !_SYS__TASK_H_ */ |