对于某些系统锁也需要使用优先级继承。
Priority inheritance is also needed for certain system locks.
进入睡眠模式会让系统锁死。
我们今天要给贵司发货,现在订单被系统锁了,不知是否因为欠款问题。
Today we will deliver the goods to you, but the order has been locked. I think it may due to the debt problem.
该控制系统对车辆上每个轮子的速度进行采样,并以每秒20次的速度控制每个刹车的压力(防止它锁死)。
This control system samples the speed of each wheel on a vehicle and controls each brake's pressure (to stop it from locking up) at up to 20 times per second.
操作系统调度程序决定哪个线程获得对互斥锁的控制权—通常,等待时间最长的读线程先读取数据。
The operating system scheduler determines which thread gets control of the mutex next-typically, the reader thread that has waited the longest gets to read the data first.
您此时可能想到使用文件锁或其他特定于操作系统的技巧,以在分布式环境中同步对文件的访问。
You might have some ideas about using file locking or other operating system-specific tricks to synchronize access to a file in a distributed environment.
传统的关系数据库管理系统有时使用锁来管理并发性,从而防止其他客户机访问某个客户机正在更新的数据。
Traditional relational database management systems sometimes use locking to manage concurrency, preventing clients from accessing data while another client is updating that data.
在某些情况,可能需要强制覆盖会话锁,例如医院系统中的急诊,但这种覆盖需要进行记录以便进行审核。
Session locks may need to be forcibly overridden in certain cases, such as a medical emergency in a hospital system, but such overrides should be logged for audit purposes.
组中线程的数量应该不大于系统中最深的锁层次结构的深度。
The number of threads in the group should be no larger than the depth of the deepest lock hierarchy possible in the system.
信息包括线程、锁、堆栈等方面的数据,以及关于系统中类装入器的丰富信息。
This information includes data about threads, locks, stacks, and so on, as well as a rich set of information about the class loaders in the system.
在这两个WebSpheremq系统上同时运行带- w选项的amqmfsck命令,测试并发等待和释放这个目录上的锁。
Run amqmfsck on both WebSphere mq systems simultaneously, using the -w option, to test waiting for and releasing a lock on the directory concurrently.
LockWaitTime:在执行此sql语句期间系统等待锁的时间。
Lock wait Time: Time the system waited for locks during SQL statement.
方向盘锁、发动机防盗系统和追踪系统的出现,使得新车难以被盗。
Steering locks, engine immobilisers and tracking systems have made newer cars harder to steal.
锁升级、锁超时和死锁将表明系统或应用程序中存在某些潜在问题。
The lock escalations, lock timeouts and deadlocks will indicate some potential problems in your system or application.
您的房子可能有最新的警报系统以及窗栏,但是如果您不锁大门,即便您的系统有再多的安全特性,仍然是不安全的。
Your house may have the latest alarm system and Windows with bars, but if you leave your doors unlocked, despite the number of security features your system has, it is still insecure.
因此编写构建于可变状态和锁之上、且该状态和锁随系统增长仍然可靠的并发系统很难。
So it is difficult to write concurrent systems built on mutable state and locks that continue to be reliable as a system grows.
但是请求锁的动作将会触发一系列的动作,这可能导致严重的系统开销,这是不可避免的。
Yet the act of asking for a lock will trigger a sequence of actions that can result in accumulation of significant overheads, one that cannot be avoided.
但是这个建议是值得考虑的;使用很多锁的系统会更可能有缺陷,而且维护这些锁也会影响性能。
But it's worth considering. Systems using many locks are more likely to have defects, and there's a performance hit to maintaining many locks, too.
给定系统上运行的线程越多,对那些有限系统资源的需要更多,等待同步锁释放的时间越长。
The more threads running on a given system, the more demand for those limited system resources and the more time spent waiting on synchronization locks to release.
如果系统检测到P 3线程正在持有一个P 1线程需要的锁,则会把P 3线程的优先级置为P1,直到它释放了锁。
The system detects that the P3 thread is holding a lock required by the P1 thread and elevates its priority to P1 until the lock is released.
换句话说,操作系统不会强制您通过锁来共享资源,所以,所有需要该资源的进程都必须协同使用该锁。
In other words, the operating system doesn't enforce the resource sharing through the lock, so all processes that need the resource must cooperate to use the lock.
ENOLCK:没有可用的锁;您已达到系统对文件锁或记录锁的限制范围。
ENOLCK — No locks are available; you've reached a system-wide limit on file or record locks.
POD具备完善的电脑桌、充足的储存空间和安全的锁闭系统。
The POD comes with integrated desk for your laptop , plenty of storage space, and secure locking system.
例如,在财务系统中的客户级别上:一个粗粒度锁会锁定该客户的所有帐户,另一个锁则可锁定全部保险策略。
An example might be at the customer level in a financial system: one coarse grained lock could be to lock all accounts for the customer, another could be to lock all insurance policies.
对于具有大量用户或运行长期事务的系统,或者事务涉及大量实体,需要等待锁释放的概率则会增加。
On a system with many users or with long-living transactions, or when transactions involve a greater number of entities, the probability of having to wait for a lock to be released increases.
释放锁以后,系统从争用者的最高优先级队列的前端选择线程,以便试图锁定对象。
When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.
在一个存在大量锁的系统中(内核就是这样一个系统),通常在代码中需要一次性控制多个锁。
In systems with a large number of locks (and the kernel is becoming such a system), it is not unusual for code to need to hold more than one lock at once.
这个更正将请求锁的开销平摊到了多个数据包,显著地减少了锁争 用,这样我们就能在8核系统上将memcached伸展至8线程。
This change amortizes the cost of the lock acquisition over many packets and reduces lock contention significantly, allowing us to scale memcached to 8 threads on an 8-core system.
在最初的设计中,由于没有锁,一个线程在另一个线程与服务器对话时发起的系统调用都会绕过该p seudo设计。
In the original design, without locking, any syscalls made by one thread while another thread was talking to the pseudo server bypassed the pseudo design.
在最初的设计中,由于没有锁,一个线程在另一个线程与服务器对话时发起的系统调用都会绕过该p seudo设计。
In the original design, without locking, any syscalls made by one thread while another thread was talking to the pseudo server bypassed the pseudo design.
应用推荐