Let the critical section of code complete its job.
使代码的关键部分完成其工作。
Make sure this copying happens inside the critical section by holding a spinlock.
确保这个拷贝是在一个具有自旋锁的临界区中发生的。
A critical section is a portion of code that is protected against multiple access.
一个临界段是一段不允许多路访问的受保护的代码。
To combat the issue of race conditions, the concept of a critical section was created.
临界段概念是为解决竞态条件问题而产生的。
For a method that enters a critical section, validate that the method does not return before it is released.
对于进入关键部分的方法,验证该方法未在释放前返回。
Data exchange among threads was realized under the protection of critical section.
系统线程间的数据交换在临界区保护模式下实现。
Based on the stress analysis on the critical section, this paper presents a simple calculation method.
基于对最不利截面的应力分析,提出了一种简便、快速的悬臂长度计算方法。
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.
临界区用来确保代码的某些部分同一时间只能由一个线程执行。
Then net effect is that we will end up with a longer critical section which may result in other threads stalling and reduced throughput.
这种做法带来的真正效果是我们获得了一个更长的临界区,它可能导致其他线程受到拖延从而降低吞吐量。
Interrupt disabling is one of the key mechanisms used to ensure that a sequence of kernel statements is treated as a critical section.
确保一组内核语句被当作一个临界区域处理的主要机制之一就是中断禁止。
This allows us to minimize the amount of work in the critical section which should bias the measurement towards the cost of synchronization.
这样我们可以将临界区内的工作最小化,进而重点测量同步的开销。
The bending normal stress amplitudes of the nodes in the critical section near crankshaft fillet were obtained by modal expanded computation.
最后通过模态扩展计算得到圆角危险截面圆弧上各点在疲劳试验过程中的弯曲正应力幅值。
Minimizing time spent in the critical section allows for greater concurrency because it reduces the time other threads must wait to gain the lock.
减少在临界域中耗费的时间能带来更多的并发性,因为这减少了其他线程等待锁的时间。
If the underlying function is in the middle of a critical section and a signal is generated and handled, this can cause the function to be non-reentrant.
如果底层的函数处于关键部分,并且生成并处理信号,那么这可能会导致函数不可重入。
Critical sections operate on the principle of mutual exclusion (when a thread is within a critical section, all other threads are excluded from entering).
临界段操作时坚持互斥锁(mutual exclusion)原则(当一个线程处于临界段中时,其他所有线程都不能进入临界段)。
Critical sections operate on the principle of mutual exclusion (when a thread is within a critical section, all other threads are excluded from entering).
临界段操作时坚持互斥锁(mutual exclusion)原则(当一个线程处于临界段中时,其他所有线程都不能进入临界段)。
应用推荐