work queue
工作队伍
[计] 工作队列
2025-06-06 02:31 浏览次数 12
工作队伍
[计] 工作队列
work item queue工作项队列
work queue directory工作队列目录
work queue entry工作队列项
A Work Queue一个工作队列
work item queue assignment expression工作项队列分配表达式
work center queue time工作站排队时间
work output queue[计]
work queue service notifications工作队列服务通知单
the fork-join framework reduces contention for the work queue by using a technique known as work stealing.
fork-join框架通过一种称作工作窃取(workstealing) 的技术减少了工作队列的争用情况。
the work queue api is slightly more complicated that tasklets, primarily because a number of options are supported.
工作队列api比微线程稍复杂,主要是因为它支持很多选项。
locks that are mostly contended are the 「hot」 locks in an application, such as the locks that guard the shared work queue for a thread pool.
多数竞争锁是应用程序中的「热」锁,例如保护线程池的共享工作队列的锁。
the work queue mechanism is inherited from the wlm queuing manager service.
工作队列机制是从wlm队列管理器服务继承而来的。
on an n-processor system for a work queue that will hold entirely compute-bound tasks, you will generally achieve maximum cpu utilization with a thread pool of n or n+1 threads.
若在一个具有n个处理器的系统上只有一个工作队列,其中全部是计算性质的任务,在线程池具有n或n+1 个线程时一般会获得最大的cpu利用率。
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()来通知等待线程新的工作已经到达了。
within each application environment, there will be only one work queue mapping to one service class; the work queue will just follow the service class’s name.
在每个应用程序环境中,只有一个工作队列映射到一个服务分类;工作队列将仅遵循服务分类的名称。
recall from figure 3 that the core structure for the work queue is the queue itself.
通过 图3 可以回想工作队列的核心结构体是队列本身。
few developers use synchronousqueue directly, but it is used as the work queue for thread pools constructed with the executors.newcachedthreadpool() factory.
很少有开发人员会直接使用synchronousqueue,但是通过executors.newcachedthreadpool()工厂构建的线程池用它作为工作队列。
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),比如在消息传入时,以某种工作队列的分类存储该消息,以便编辑器进行核準。
let「s now continue with a simple example of the work queue api.
下面我们看一个工作队列api的简单例子。
work queue and servant region relationship
工作队列与服务区域的关系
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 所示)。
the following example illustrates a few of the core work queue api functions.
下面的例子说明了几个核心的工作队列api函数。
that」s the core of the work queue api.
这就是工作队列api的核心。
the administration work queue lets you see the list of administration actions queued up on a broker that are waiting to be actioned
管理工作队列使您可以查看在一个等待行动的代理上排队等候的管理活动的列表
the example work queue in listing 1 meets the requirements for safely using notify().
清单1中的示例工作队列满足了安全使用notify() 的需求。
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,只是不需要定义工作队列结构体。
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 中指出了要采用的处理程序函数, 因此可以利用工作队列来为不同的处理程序进行任务排队。
basically, at any given time, any servant region will only bind to a single specific service class work queue and select requests from there.
本质上,在任何给定的时间,任何服务区域将仅绑定到单个特定的服务分类工作队列,并从该队列选择请求。