The Activities act like a work queue, where work is assigned and completed.
这些活动像一个工作队列,工作在这里被分配和完成。
A new request comes in and stays in the new service class work queue.
新的请求传入并滞留在新的服务分类工作队列中。
Number 2: How do I get work to queue up in front of a task?
第2个问题:如何让工作在某个任务前面排队等待?
Let's now continue with a simple example of the work queue API.
下面我们看一个工作队列api的简单例子。
All work on a given work queue can be completed using a call to flush_workqueue.
指定工作队列中的所有任务能够通过调用flush _ workqueue来完成。
A task whose unit of work is represented by an element in a queue.
用队列中的一个元素来表示其工作单位的任务。
A task whose unit of work is represented by an element in a queue.
用队列中的一个元素来表示其工作单位的任务。
应用推荐