1. Let the criticalsection of code complete its job.
使代码的关键部分完成其工作。
来自互联网
2. Atomic means that the criticalsection is contained within the API function.
原子意味着临界段被包含在api函数中。
来自互联网
3. Make sure this copying happens inside the criticalsection by holding a spinlock.
确保这个拷贝是在一个具有自旋锁的临界区中发生的。
来自互联网
4. A criticalsection is a portion of code that is protected against multiple access.
一个临界段是一段不允许多路访问的受保护的代码。
来自互联网
5. To combat the issue of race conditions, the concept of a criticalsection was created.
临界段概念是为解决竞态条件问题而产生的。
来自互联网
6. Data exchange among threads was realized under the protection of criticalsection.
系统线程间的数据交换在临界区保护模式下实现。
来自互联网
7. Write a standard lock plus "double check" to create a criticalsection around a variable access.
写一个标准的lock,在访问变量的前后创建临界区,要有“双重检查”。
来自互联网
8. We must protect each object instance against multiple use with a criticalsection per object.
我们必须保护每个对象实例来确保多重使用不出问题,保证方法是用每对象关键节。
来自互联网
9. Based on the stress analysis on the criticalsection, this paper presents a simple calculation method.
基于对最不利截面的应力分析,提出了一种简便、快速的悬臂长度计算方法。
来自互联网
10. For a method that enters a criticalsection, validate that the method does not return before it is released.
对于进入关键部分的方法,验证该方法未在释放前返回。
来自互联网
11. Before entering the criticalsection, the lock method of the ReentrantLock object is invoked to try and obtain the lock.
在进入关键部分之前,调用ReentrantLock对象的lock方法,尝试并获得锁。
来自互联网
12. A critical section is an object used to make sure, that some part of the code is executed only by one thread at a time.
临界区用来确保代码的某些部分同一时间只能由一个线程执行。
来自互联网
13. Then net effect is that we will end up with a longer criticalsection which may result in other threads stalling and reduced throughput.
这种做法带来的真正效果是我们获得了一个更长的临界区,它可能导致其他线程受到拖延从而降低吞吐量。
来自互联网
14. Interrupt disabling is one of the key mechanisms used to ensure that a sequence of kernel statements is treated as a critical section.
确保一组内核语句被当作一个临界区域处理的主要机制之一就是中断禁止。
来自互联网
15. This allows us to minimize the amount of work in the criticalsection which should bias the measurement towards the cost of synchronization.
这样我们可以将临界区内的工作最小化,进而重点测量同步的开销。
来自互联网
16. The bending normal stress amplitudes of the nodes in the criticalsection near crankshaft fillet were obtained by modal expanded computation.
最后通过模态扩展计算得到圆角危险截面圆弧上各点在疲劳试验过程中的弯曲正应力幅值。
来自互联网
17. Minimizing time spent in the critical section allows for greater concurrency because it reduces the time other threads must wait to gain the lock.
减少在临界域中耗费的时间能带来更多的并发性,因为这减少了其他线程等待锁的时间。
来自互联网
18. If the underlying function is in the middle of a criticalsection and a signal is generated and handled, this can cause the function to be non-reentrant.
如果底层的函数处于关键部分,并且生成并处理信号,那么这可能会导致函数不可重入。
来自互联网
19. Criticalsections operate on the principle of mutual exclusion (when a thread is within a critical section, all other threads are excluded from entering).
20. Also, the administrator can check for dead applications or those that are reporting they are in a criticalsection of the program, like long updates to reporting.
同样,管理员可以检查无响应的应用程序,或者那些报告说正处于运行程序临界段,如长时间报表更新。
来自互联网
21. Sample pretreatment is the critical section in residue determination, it's the key indicator to measure the advancement and practicability of a new determination method.
22. When the thread that has the lock leaves the criticalsection, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.
23. When the thread that has the lock leaves the criticalsection, the suspended thread needs to be woken up. The thread will need to be re-scheduling and context switched back into the CPU.