当有多个任务等待访问数据结构时,可以使用多种技术。
When there are multiple tasks waiting to gain access to data structures, there are multiple techniques that can be used.
所以,很多任务等待我去完成啊,奥运有我一份。
一个条件变量允许任务等待一个同步原语,以进入临界区。
A condition variable allows a task to wait on a synchronization primitive within a critical region.
菲尔·杰克逊在洛杉矶有一项新的任务等待他:打造总冠军。
Phil Jackson has a new task waiting for him in Los Angeles: Build a champion.
您只有一个任务,并且它目前进展良好,如果您有多个任务等待处理,左上角的扇形图将显示进展良好或延迟任务的数量。
You only have one task, and it is currently on track. If you had multiple tasks waiting for your work, the pie chart at the top left shows you how many of them are on track or delayed.
然后该任务将出现,同时显示输入数据,并等待您的输入。
The task then appears, showing the input data, and waits for your input.
在某个时候我们可以修改命令来异步地移动数据,这样就可以令其他任务不必等待数据移动操作的完成。
At some point we may change the commands to asynchronously move the data which would not cause other jobs to wait for the move to complete.
受影响的队列会充满当前无法访问的消息,而其他应用程序或任务可能正在等待获取这些消息。
Affected queues can fill up with messages that are currently inaccessible while other applications or tasks might be waiting to get these messages.
我们会重点关注查看等待,操作,任务切换,以及CLM是怎样帮助开发团队,业务,IT,私人和外部团体是如何协作,以及相互交流的。
In particular, we looked at waiting, motion, and task switching and how CLM can help development teams, the business, it, individuals, and outside parties all work together and interact more easily.
一旦所有25个线程都被阻塞的时候,等待中的任务就无法分配到线程了。
Once all 25 threads were blocked, the tasks they are waiting on cannot be attached to a thread.
这一次,DB 2引擎获得一个互斥捕捉,用于同步地移动数据,因此当锁超时没有发生时,其他任务将等待数据移动的完成。
At this time, an exclusive seize is acquired by the DB2 engine to synchronously move the data, so while a lock time-out will not occur, other jobs will wait for the move to complete.
最大问题是建立联邦国防军的初衷和等待他们完成的任务并不相符。
The biggest is that the Bundeswehr is not set up for the tasks that await it.
此时立即发生整合;您无需等待运行任何任务,就可以节省存放包含附件的文档的磁盘空间。
Consolidation occurs immediately; you do not have to wait for a task to run before disk space savings occur in the size of documents with attachments.
识别过程中任务之间的平均等待时间。
The average wait time between tasks in the process is identified.
这么做是为了处理线程池中的死锁,当太多线程等待其他任务结束时就会出现死锁。
This was done to address deadlocks in the thread-pool. These deadlocks were caused when too many threads were waiting on other tasks.
但是如果任务队列太长,用户会不愿意等待他们的报表完成。
If the job queue becomes too long, users will get tired of waiting for their reports.
流程将在人工任务阶段暂停,等待输入。
The Process will be suspended at human task waiting for input.
PENDING_REQUEST_DATA(1. . 100):只针对异常情况活动实例;对于每个调用活动、任务实例、等待活动等大约有一个实例。
PENDING_REQUEST_DATA (1.. 100) : exceptional cases only activity instances; roughly one for each invoke activity, task instance, wait activity, etc.
不要对那些同步等待其它任务结果的任务排队。
Don't queue tasks that wait synchronously for results from other tasks.
战况室在很长一段时间里都相当安静,所有人都在等待着任务的进展。
For long periods of time, nobody said a thing, as everyone waited for the next update.
最后,在早期的内核中,抢占是不可能的;这意味着如果有一个低优先级的任务在执行,高优先级的任务只能等待它完成。
Finally, preemption wasn't possible in the earlier scheduler; this meant that a lower priority task could execute while a higher priority task waited for it to complete.
任务会等待调用者返回。
用户既可以使用实例ID来轮询该任务的状态,也可以等待任务完成时返回结果的通知。
The user can either poll the task's state using the Instance ID, or await a notification returning the result of a finished task.
第2个问题:如何让工作在某个任务前面排队等待?
任务列表显示了等待完成的任务,如图37所示。
The task list shows your task waiting to be completed, as Figure 37 shows.
Step1的两个实例是活动的,其他传入令牌必须在该任务前面的队列中等待。
Two instances of Step 1 are active, with the other incoming tokens having to wait in the queue in front of the task.
“r”字段告诉我们系统就绪队列中有多少任务在等待要执行的资源。
The "r" field tells us how many jobs are in the system ready queue, waiting for resources to be executed.
但是,包括在执行任务前排队等待时间的Elapsed Duration却是11.5小时!
However, the Elapsed Duration, the time including the wait in the queue before the task, is 11.5 hours!
流程实例启动后,名为“ApproveOrderRequest”的人工任务将被启动,等待审计人员完成。
After the process instance is initiated, the human task named "ApproveOrderRequest" will be started and will be waiting for the auditor to complete.
现在,只需用spe_wait等待spe任务完成,然后打印出最终的值。
Now you can just wait for the spe task to complete using spe_wait, and then print out the final value.
应用推荐