Workqueues get a rework
Posted Jun 22, 2007 20:38 UTC (Fri) by
dibacco73 (guest, #45898)
Parent article:
Workqueues get a rework
If I understand correctly, the workqueue API are very uncomfortable. If I queue_work the same task (function) that is already in the queue with a different parameter (data), it is rejected, why is there not an API to queue a work that copies the structure instead of simply using its pointer? Or probably is better that the user kmalloc the work and then, when the work is completed, the work is freed.
Bye,
Antonio.
(
Log in to post comments)