在进程的生命周期内,可能会经历一系列互斥的状态。
During its lifetime, a process may go through a set of mutually exclusive states.
这里是获得进程间互斥的另一Win32示例代码。
Here is another Win32 sample code to acquire mutex between processes.
相应的获得进程内互斥的Linux示例代码(见清单15)。
An equivalent Linux sample code to acquire mutex within a process (see Listing 15).
这里是获得进程内互斥的Win32示例代码(见listing14)。
Here is the Win32 sample code to acquire a mutex within a process (see Listing 14).
例如,如果两个或多个进程正在等待互斥访问某一要释放的资源,仅唤醒等待队列中一个进程才有意义。
For instance, if two or more processes are waiting for exclusive access to some resource to be released, it makes sense to wake up just one process in the wait queue.
当这个线程完成了,它必须改变互斥锁为标记状态,以便其他的进程可以访问这些资源。
When the thread is finished with the resource, it must set the state of the mutex to signaled to allow other threads to access the resource.
这种互斥通信法保证在同一时间仅有一个进程访问此码区。
The mutex (mutual exclusion) semaphore ensures that only one process at a time has access to the region of code.
互斥问题是分布式系统设计时的关键问题,它保证并发进程正确的访问临界资源。
Mutual exclusion is an important problem in distributed system It guarantees concurrent processes access critical resources correctly.
操作系统中,进程同步和互斥问题以及与之相关的信号量机制是教学过程中的重点和难点问题。
The process synchronization and process mutual exclusion and semaphore mechanism, which are emphases and difficulty in the Operating System course.
本文分析了实时嵌入式操作系统中几种常用的进程互斥方法,尝试提出一种基于任务优先级的禁止抢占法,并分析了该方法的安全性和高效性。
Some commonly-used process mutex exclusive methods are analyzed in this paper. It advances a no preemptive method which is based on task priority and analyzes its security and high-efficiency.
本文分析了实时嵌入式操作系统中几种常用的进程互斥方法,尝试提出一种基于任务优先级的禁止抢占法,并分析了该方法的安全性和高效性。
Some commonly-used process mutex exclusive methods are analyzed in this paper. It advances a no preemptive method which is based on task priority and analyzes its security and high-efficiency.
应用推荐