Performance/load/stress/race conditions
性能/负载/压力/竞争条件
Race conditions can also occur in signal handling.
在信号中也会发生竞争条件。
You can avoid race conditions by using locks.
您可使用锁定来避免竞争情形发生。
File locking is a very tricky issue and race conditions abound.
文件加锁是一个非常棘手的问题,很多时候都存在竞争条件。
Race conditions should be avoided by good design practices.
在设计时应尽量避免产生竞争的情况。
This code could fail in race conditions on servers with a heavy load.
该代码在负载很重的服务器上会在竞态条件中失败。
Attempting a solution in user space causes difficult-to-solve race conditions.
尝试用户空间中的解决方案导致难于解决的竞态条件。
The kernel itself is dynamic, and race conditions can be created in a number of ways.
内核本身是动态的,而且有许多创建竞态条件的方法。
To combat the issue of race conditions, the concept of a critical section was created.
临界段概念是为解决竞态条件问题而产生的。
Even uniprocessor systems must disable preemption in this way to avoid race conditions.
甚至单处理器系统也必须要这样禁用抢占机制以防止竞态条件的产生。
This design, especially when combined with blocks like Broadcast, can lead to race conditions.
这种设计可能会导致竞态条件,尤其是与Broadcast这样的块联合使用时更是如此。
Despite of this feature developers still have to bear with synchronization and avoiding race conditions.
尽管有这一功能,开发人员仍要忍受同步问题、避免竞态条件。
Specifically, problems such as race conditions and deadlocks that lie dormant could suddenly become major problems.
尤其是潜在的竞态条件和死锁会突然间成为最令人头疼的问题。
Race conditions are only an issue where interrupts and/or preemption are possible and where critical sections exist.
竞争状态仅仅有一种情况下产生,在此处中断或(和)优先抢占是充许的并且有一个临界区存在。
Reliable techniques for code execution haven't been developed - yet. At least not for some kinds of race conditions.
让代码可靠地执行的技术目前还没有开发出来。
This middleware is supposed to protect us from nasty race conditions and deadlocks by wrapping our requests with a mutex.
这个中间件通过给我们的请求加一个互斥来保护我们避免竟太条件和死锁。
This could result in race conditions if one thread is adding to the end of the list while another is iterating through it.
如果将某个线程添加到列表末尾时,其他线程正在遍历该列表,那么可能会产生竞态条件(race condition)。
When the deformity is not enabled operating point of the Area, the pump will be operating in the inferior race conditions.
当启用不是在于畸形作业点的片区时,水泵将作业在以次工况。
Furthermore, you'll have to consider race conditions if (as is often the case) the script can be called at almost the same time.
此外,你必须考虑种族条件,如果(通常情况下)脚本几乎可以在同一时间调用。
Fewer race conditions because the messages are all handled sequentially in the code with no need for callbacks interrupting the flow.
由于所有消息都在代码内顺序处理,回调没有必要打断应用程序流,因此竞争条件(race condition)更少。
If multiple threads attempt to access a Shared resource at the same time, race conditions can result, causing corruption of data.
如果多个执行绪同时尝试存取共用资源,就可能造成竞争情形而使得资料损毁。
This could result in erroneous results even in an inconsistent manner which makes race conditions particularly difficult to debug.
这会造成错误结果,甚至造成一种不连续的情况,使得竞争条件额外难以调试。
The bottom line: if you're training for a specific outdoor race, try to train outside as much as possible to get prepared for race conditions.
底线:如果你是为了一个特别的室外比赛训练,尽可能多的尝试室外跑来为比赛的情况做准备。
In others, the side-effects can cause serious threading issues or race conditions (where multiple threads compete for the execution of a code block).
而在其他情况下,副作用可能造成严重的线程问题或争用情况(此时多个线程竞争执行一个代码块)。
The second solution is to allow multiple thread submissions while relying on synchronization in server-side code to safeguard against race conditions.
第二个解决方案是允许多线程提交,但是依赖于服务器端代码中的同步来避免争用情况。
Threading solves problems with throughput and responsiveness, but it can also introduce resource-sharing issues such as deadlocks and race conditions.
线程处理解决了吞吐量和响应性的问题,但同时也带来了资源共享问题,例如死锁和争用状态。
The race conditions illustrated in Listing 1 often make it necessary to hold the single collection lock for much longer than it takes to execute a single operation.
清单1中演示的争用条件常常使得对单个集合的锁在单个操作执行完毕之后还必须继续保持一段较长的时间。
During IBM WebSphere Real Time testing, timing differences surfaced race conditions (in other words, bugs) in test programs that had run fine for years on other JVMs.
在IBMWebSphereRealTime测试期间,在测试程序中,同步差异使竞争条件(换言之,bug)浮出了水面,而这些测试程序已经在其他JVM上运行了很多年。
The consequences of failing to properly synchronize are severe: data corruption and race conditions, which can cause programs to crash, produce incorrect results, or behave unpredictably.
如果同步不适当,后果是很严重的:会造成数据混乱和争用情况,导致程序崩溃,产生不正确的结果,或者是不可预计的运行。
Originally we thought that race conditions would be the most important problem, because they can cause data corruption and they are especially hard to work backwards to find a root cause.
以前我们认为竞态条件是最重要的问题,因为它们会破坏数据,而且很难找到问题的根源。
应用推荐