It encapsulates a request (a method call on some object) as an object, which lets you parameterise clients with different requests, queue or log requests, and support un-doable operations.
它将请求(某个对象上的方法调用)作为对象封装,这使您能够通过不同的请求(队列或日志请求)确定客户机的参数并支持无法执行的操作。
The thread will in fact attempt another remove call on the queue and will become blocked until the next available request.
事实上,线程会对队列尝试另一个remove调用,并变成阻塞,直到下一个请求可用。
If you wanted the queued item to do something else, you would need to add that to the implementation of the Delayed object and call that new method upon retrieval from the queue.
如果希望队列项做一些其他事情,就需要在Delayed对象的实现中加入方法,并在从队列中取出后调用这个新方法。
I use the PHP command-line interpreter to run that script and put the method call into the queue.
我使用PHP命令行解释器运行这个脚本,并将这个方法调用放进队列中。
This function removes the socket from the incomplete socket queue and puts it into the completed socket queue. Wakeup () is then called to wake up the accept call.
此函数从未完成的套接字队列移除套接字,并将其放入完成的套接字队列,然后调用Wakeup (),以唤醒accept 调用。
Each work item is then initialized with INIT_WORK, the work defined, and then enqueued onto the work queue with a call to queue_work.
利用INIT _ work来初始化每个任务项目,任务定义完成,接着通过调用queue _work将任务安排到工作队列中。
To print a file, one only needs to call LPR with the filename as argument, and to get the content of the spool queue, just call LPQ.
要打印文件,一个只需要调用的文件名作为参数车牌,并获得了后台打印队列的内容,只需调用大部分受。
On the light of retrial, feedback and impatience in a call center, this paper tries to study these trait based on queue pattern, and make the analysis be more accurate, more useful.
本课题就是针对呼叫中心的重试、反馈、顾客不耐烦等待这些问题,试图建立模型加以分析,以使对呼叫中心的性能分析更准确、更能应用于实践。
An object's intrinsic lock and its intrinsic condition queue are related: in order to call any of the condition queue methods on object X, you must hold the lock on X .
一个对象的固有锁和它的固有条件队列是相关的,为了调用对象X内条件队列的方法,你必须获得对象X的锁。这是因为等待状态条件的机制和保证状态连续性的机制是紧密的结合在一起的。
An object's intrinsic lock and its intrinsic condition queue are related: in order to call any of the condition queue methods on object X, you must hold the lock on X .
一个对象的固有锁和它的固有条件队列是相关的,为了调用对象X内条件队列的方法,你必须获得对象X的锁。这是因为等待状态条件的机制和保证状态连续性的机制是紧密的结合在一起的。
应用推荐