不要对那些同步等待其它任务结果的任务排队。
Don't queue tasks that wait synchronously for results from other tasks.
当一些程序进入系统,这些程序就由任务排队子程序放在队列里(图10.3)。
As programs enter the system, they are placed on a queue by the job queuing routing (Fig. 10.3).
由于work_struct中指出了要采用的处理程序函数,因此可以利用工作队列来为不同的处理程序进行任务排队。
As the work_struct indicates the handler function to use, you can use the work queue to queue work for a variety of handlers.
应用推荐