commit | 889e9311e5c900ce24eecf00fcb5b8b9d51bb020 | [log] [tgz] |
---|---|---|
author | paul <paul> | Mon Nov 14 14:46:35 2005 +0000 |
committer | paul <paul> | Mon Nov 14 14:46:35 2005 +0000 |
tree | d5f3ebd53e4185157027becf01d67ace5400e24d | |
parent | 0fb58d5d7993b638fc46085944d17d3a54d66046 [diff] |
[workqueue] Update workqueue users callbacks to additional arguments 2005-11-14 Paul Jakma <paul.jakma@sun.com> * (general) pass struct work-queue to callback functions. * workqueue.h: (struct work_queue) move the state flag variables to end. Add an opaque pointer to spec, for user-data global to the queue. Pass reference to work_queue to all callbacks. * workqueue.c: (work_queue_item_remove) pass ref to workqueue to user callbacks. (work_queue_run) ditto.