It also provides for a work-queue based working style, where an administrator can transfer work items among groups.
它还提供了基于工作队列的工作方式,在这种方式中,管理员可以在组之间转移工作项目。
In the previous section, you configured a shared work path and set up an MI queue manager, so you can move on to third step.
在上一节中,您配置了一个共享工作路径并设置了一个MI队列管理器,因此您可以继续第三步。
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).
对于该模型的一个关键问题是增加工作线程数会加剧对工作队列的争用(如图3所示)。
They may also "invoke" human tasks by sending a task to a worker's work list or queue.
它们还会通过向工作人员的工作列表或队列发送任务来“调用”人工任务。
Listing 1 shows an example of a simple pooled work queue.
清单1显示了简单的合用工作队列的示例。
Suppose we wanted to add Business Process management (BPM) to the solution, such that when the message came in, it is stored in some sort of work queue for an editor to approve.
假设我们想在解决方案中添加业务流程管理(BPM),比如在消息传入时,以某种工作队列的分类存储该消息,以便编辑器进行核准。
All the servant regions are now bound to existing work queues, and no servant region can immediately convert to the new service class work queue.
现在所有服务区域均绑定到现有工作队列,没有任何服务区域能够立即转换到新的服务分类工作队列。
Basically, at any given time, any servant region will only bind to a single specific service class work queue and select requests from there.
本质上,在任何给定的时间,任何服务区域将仅绑定到单个特定的服务分类工作队列,并从该队列选择请求。
The following example illustrates a few of the core work queue API functions.
下面的例子说明了几个核心的工作队列api函数。
As the worker threads complete their transactions, the next work item in the queue is executed.
在工作线程完成其事务后,将会执行队列中的下一个工作项目。
The work queue mechanism is inherited from the WLM queuing manager service.
工作队列机制是从wlm队列管理器服务继承而来的。
In the panel shown in Figure 11, there are two servant regions bound to the same service class work queue, CBDEF.
在如图11所示的面板中,有两个服务区域与同一个服务分类工作队列CBDEF绑定。
The optimum size of a thread pool depends on the number of processors available and the nature of the tasks on the work queue.
线程池的最佳大小取决于可用处理器的数目以及工作队列中的任务的性质。
These functions (shown in Listing 8) mimic those from Listing 7, except that you don't need to define the work queue structure.
这些函数(见清单8)模拟清单7,只是不需要定义工作队列结构体。
The following class is a model of a common concurrent utility: a work queue.
下面的类是一种常见的并行实用程序模型:任务队列。
Before the request is processed by the servant region, it's put inside the WLM work queue.
在服务区域处理请求之前,请求被放在WLM工作队列中。
The work queue API provides three functions to initialize work (from an allocated buffer); see Listing 6.
工作队列API提供三个函数来初始化任务(通过一个事先分配的缓存);参见清单6。
The administration work queue lets you see the list of administration actions queued up on a broker that are waiting to be actioned
管理工作队列使您可以查看在一个等待行动的代理上排队等候的管理活动的列表
For the former, the Gearman work queue remains in memory but is backed by a relational database.
对于前者,Gearman工作队列保存在内存并在一个关系型数据库内存有备份。
Finally, Query also includes the option to constrain a search to a particular container (folder or work queue).
最后,Query还包含将搜索限制在特定容器(文件夹或工作队列)的选项。
The column WUQue reports only the number of requests taken from the service class work queue that are bound to the server region.
WUQue列仅报告从服务分类工作队列接收并绑定到该服务区域的请求数量。
What we usually want is a work queue combined with a fixed group of worker threads, which USES wait and notify to signal waiting threads that new work has arrived.
我们通常想要的是同一组固定的工作线程相结合的工作队列,它使用wait和notify来通知等待线程新的工作已经到达了。
WebSphere Application Server for z/OS combines a work queue mechanism with the thread pool to serve the client requests.
WebSphereApplicationServerfor z/OS 将工作队列机制与线程池组合起来为客户端请求提供服务。
Thus, if the Gearman daemon fails, it can recreate the work queue on restart.
这样一来,如果Gearman守护程序故障,它就可以在重启后重新创建这个工作队列。
You can find the implementation of the work queue API in ./kernel/workqueue.c, with API definitions in ./include/linux/workqueue.h.
在./kernel/workqueue.c 中能够找到工作队列API的实现方法, API 在 ./include/linux/workqueue.h 中定义。
Listing 10 is your init_module function, which begins with creation of the work queue using the create_workqueue API function.
清单10是init _ module函数,该函数从使用create _ workqueueapi函数生成工作队列开始。
To learn more about the 2.6 kernel work queue interface, check out this older Linux Journal article from 2003, which provides a good introduction to the API and operation of kernel work queues.
想要学习更多 2.6内核工作队列接口的知识,请参考这篇较老的 2003年LinuxJournal文章,它详细介绍了API和内核工作队列的操作。
As the work_struct indicates the handler function to use, you can use the work queue to queue work for a variety of handlers.
由于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.
由于work_struct中指出了要采用的处理程序函数,因此可以利用工作队列来为不同的处理程序进行任务排队。
应用推荐