把这个插座放在工作队列中。
对于工作队列中的所有插头角色。
清单1显示了简单的合用工作队列的示例。
工作队列任务可以在编译时或者运行时创建。
Workqueue tasks can be initialized at compile time or at run time.
下面的例子说明了几个核心的工作队列api函数。
The following example illustrates a few of the core work queue API functions.
工作队列机制是从wlm队列管理器服务继承而来的。
The work queue mechanism is inherited from the WLM queuing manager service.
还有一些帮助函数用于清理或取消工作队列中的任务。
There are also a number of helper functions that you can use to flush or cancel work on work queues.
我们首先探讨一下工作队列,然后再看一下任务和变体。
Let's first explore the work queues, and then we'll look at work and the variants.
使用项目,工作队列和强大的脚本可以实现任务自动化。
Tasks can be automated using projects, job queue and powerful scripting.
从StereoCable工作队列中删除此插头。
在服务区域处理请求之前,请求被放在WLM工作队列中。
Before the request is processed by the servant region, it's put inside the WLM work queue.
几乎在每个服务器应用程序中都会出现线程池和工作队列问题。
In nearly every server application, the question of thread pools and work queues comes up.
这些函数(见清单8)模拟清单7,只是不需要定义工作队列结构体。
These functions (shown in Listing 8) mimic those from Listing 7, except that you don't need to define the work queue structure.
可以使用全局的内核全局工作队列,利用4个函数来为工作队列定位。
You can use a global kernel-global work queue, with four functions that address this work queue.
线程池的最佳大小取决于可用处理器的数目以及工作队列中的任务的性质。
The optimum size of a thread pool depends on the number of processors available and the nature of the tasks on the work queue.
工作队列提供一个通用的办法将任务延迟到bottomhalves。
Work queues provide a generic method to defer functionality to bottom halves.
管理工作队列使您可以查看在一个等待行动的代理上排队等候的管理活动的列表
The administration work queue lets you see the list of administration actions queued up on a broker that are waiting to be actioned
最后,Query还包含将搜索限制在特定容器(文件夹或工作队列)的选项。
Finally, Query also includes the option to constrain a search to a particular container (folder or work queue).
WUQue列仅报告从服务分类工作队列接收并绑定到该服务区域的请求数量。
The column WUQue reports only the number of requests taken from the service class work queue that are bound to the server region.
工作队列是实现延迟的新机制,从2.5版本Linux内核开始提供该功能。
Work queues are a more recent deferral mechanism, added in the 2.5 Linux kernel version.
工作队列可以有比微线程更高的时延,并为任务延迟提供功能更丰富的API。
Work queues can have higher latency than tasklets but include a richer API for work deferral.
成功生成工作队列之后,创建两个任务项目(通过 kmalloc 来分配)。
Upon successful creation of the work queue, you create two work items (allocated via kmalloc).
对于前者,Gearman工作队列保存在内存并在一个关系型数据库内存有备份。
For the former, the Gearman work queue remains in memory but is backed by a relational database.
在如图11所示的面板中,有两个服务区域与同一个服务分类工作队列CBDEF绑定。
In the panel shown in Figure 11, there are two servant regions bound to the same service class work queue, CBDEF.
对于该模型的一个关键问题是增加工作线程数会加剧对工作队列的争用(如图3所示)。
A key problem with this model is that increasing the number of worker threads increases the contention on the work queue (this is shown in Figure 3).
这样一来,如果Gearman守护程序故障,它就可以在重启后重新创建这个工作队列。
Thus, if the Gearman daemon fails, it can recreate the work queue on restart.
工作队列接口是在2.5的开发过程中引入的,用于取代任务队列接口(用于调度内核任务)。
Workqueue interface is introduced in 2.5 development to replace the task queue interface (used to schedule kernel tasks).
如果QMPL延迟非常高,则服务区域工作线程不足,无法足够快地处理工作队列中等待的请求。
If the QMPL delay is very high, then you have a shortage of servant region worker threads and cannot process the requests waiting in work queues fast enough.
本文还将探索内核列表api,计时器和其他任务延迟机制(比如工作队列)都要使用这个API。
I also explore the kernel list API, which timers and other work deferral mechanisms (such as work queues) use.
本文还将探索内核列表api,计时器和其他任务延迟机制(比如工作队列)都要使用这个API。
I also explore the kernel list API, which timers and other work deferral mechanisms (such as work queues) use.
应用推荐