清单6展示了一个方法,该方法等待一个阻塞队列,直到队列中出现一个可用项目,而不管它是否被中断。
Listing 6 shows a method that waits on a blocking queue until an item is available, regardless of whether it is interrupted.
与传统的页面请求不同的是,调用不会中断用户体验,而浏览器在等待响应时也不会暂停。
Unlike a typical page request, the call doesn't interrupt the user experience, and the browser doesn't pause while waiting for the response.
在我们的例子中,这个测试应用程序应该派生一些线程,并等待(被阻塞)中断来触发这个线程。
In our example, the test application will spawn threads and wait (blocked) for interrupts to release the threads.
早期的NFS挂载选项intr可以帮助解决NFS客户机进程中断并等待某些事件的问题,但它允许所有中断,而不仅仅是通过致命信号(如task_killable)。
The earlier NFS mount option intr was a way out of interrupting NFS client processes waiting for some event, but it allowed all interruptions, not just one by deadly signals (like TASK_KILLABLE).
接着,它开始等待,直到建立了一个新的连接,或者另一个线程将它唤醒,或者另一个线程将原来的阻塞线程中断。
It then waits until a new connection is made, another thread wakes it up, or another thread interrupts the original blocked thread.
您将看到一条消息,告知您和该代表的连接已经中断并请求您等待几分钟以重新连接到通信线路上。
You can see the message telling you and the representative that connections have been dropped and asking you to wait a few minutes for reconnecting of the communication lines.
一直等待,直到生成中断为止。
如果一步计算依赖之前一步的计算结果,那么芯片的大部分都要中断,以等待数据准备好。因此速度上的优势就失去了。
If one calculation relies on the results of a previous one, then much of the chip will sit idle until that result is ready and the speed advantage will be lost.
当流程长时间运行时,您可以向任何范围添加事件处理程序(长时间运行是指流程不能被中断并且可以等待外部异步输入)。
You can add an event handler to any scope when a process is long running (as we will explain, long running means that the process is interruptible and can wait for external asynchronous inputs).
通常情况下线程等待一个由中断服务发出异步信号的信号量。
Usually a thread waits on a semaphore that is signaled asynchronously by an interrupt handler.
其内部主要由DMA控制器(82c37)、中断控制器(82c59)、可编程间隔计时器(82c54),DRAM刷新控制器,等待状态产生器,系统重置电路组成。
It is mainly composed of DMA controller (82c37), interrupt controller (82c59), programmable interval timers (82c54), DRAM refresh control, wait state generator and system reset logic.
滞留工件或人员的等待或者滞留或者流程中断。
Delay when something or someone waits or is delayed or when flow is interrupted.
这个方法然后等待在连续当阶段性地被中断以渴望的PWM开关频率的圈。
This method then waits in a continuous while loop that is periodically interrupted at the desired PWM switching frequency.
等待队列在内核中有很多用途,尤其适合用于中断处理、进程同步及定时。
Wait queues have several USES in the kernel, particularly for interrupt handling, process synchronization, and timing.
我们认为暂停游戏是会中断游戏进程的,而要让玩家等待一定时间后才能取消暂停更加会破坏游戏的可玩性。
We feel that pausing the game interrupts the game flow and it would be inconvenient for players to be forced to wait for a certain amount of time before being able to unpause.
如果团队在签入代码和部署生成这两项操作之间等待了较长时间,则团队的成员经常需要花大量时间来解决生成中断和集成问题。
If a team waits a long time between checking code in and deploying a build, members of that team frequently spend a significant amount of time addressing build breaks and integration issues.
我们等待一帧准备好,或者等待一个中断信号。
We wait for a frame to be ready or for a signal to interrupt our wait.
等待约4小时后,大屏幕的我国已故旅行,这是我们的赛车将不会中断,我们可以去候机室等候以下。
Waited for about 4 hours after the big screen of our late trips, which represents our car will not outage, we can go to the waiting room to wait for the following.
他们在等待一个项目的过程中通常用有保持功能的能力例如按下一个按钮或中断;
They will generally have the ability to retain functionality while waiting for an event such as a button press or other interrupt;
当进程挂起自己,中断或需要等待一个事件、源、工干预等时,即进入等待状态。
A process enters a process wait state when the process suspends itself, hibernates, or declares that it needs to wait for an event, resource, mutex, and so forth.
当容器在碰到中断点的伺服器呼叫函式时,该容器将会等待,直到从伺服端程序码传回(也就是直到您完成其侦错程序)。
When the container makes a call into the server that hits a breakpoint, the container will wait until the server code returns (that is, until you finish debugging it).
用户程序在DSP/BIOS的调度下按任务、中断的优先级排队等待执行。
The customer procedure wait in line adjusts a degree to descend at DSP/BIOS by priority.
用户程序在DSP/BIOS的调度下按任务、中断的优先级排队等待执行。
The customer procedure wait in line adjusts a degree to descend at DSP/BIOS by priority.
应用推荐