Messages in this thread | | | Date | Thu, 20 Jul 2006 13:49:25 +0200 | From | Stefan Richter <> | Subject | Re: [PATCH][kernel-doc] Add DocBook documentation for workqueue functions |
| |
Rolf Eike Beer wrote: [...] > int fastcall schedule_work(struct work_struct *work) > { > return queue_work(keventd_wq, work); > } > EXPORT_SYMBOL(schedule_work); > > +/** > + * schedule_work - put work task in global workqueue after delay
This should read "schedule_delayed_work".
> + * > + * @work: job to be done > + * @delay: number of jiffies to wait > + * > + * After waiting for a given time this puts a job in the kernel-global > + * workqueue. > + */ > int fastcall schedule_delayed_work(struct work_struct *work, unsigned long delay) > { > return queue_delayed_work(keventd_wq, work, delay); > } > EXPORT_SYMBOL(schedule_delayed_work); > > +/** > + * schedule_work - queue work in global workqueue on specific CPU after delay
"schedule_delayed_work_on"
> + * > + * @cpu: cpu to use > + * @work: job to be done > + * @delay: number of jiffies to wait > + * > + * After waiting for a given time this puts a job in the kernel-global > + * workqueue. > + */ > int schedule_delayed_work_on(int cpu, > struct work_struct *work, unsigned long delay) > {
-- Stefan Richter -=====-=-==- -=== =--== http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |