A Starvation-Free Solution to the Mutual Exclusion Problem
نویسنده
چکیده
With three or more cyclic processes competing for the critical section, however, there is a danger of individual starvation when the Pand V-operations are so-called ‘weakly implemented’. When the semaphore operations are weakly implemented and a V(m) is executed, which process is allowed to proceed is left undefined when two or more processes are blocked by P(m). .As a result, there is a danger of individual starvation on account of ‘infinite overtaking’. To preclude this danger, it is not unusual to postulate for the P and V-operations a so-called ‘strong implementation’ in which infinite overtaking is impossible. CLe form of strong implementation is to admit the processes to the critical section in the order of first-come-first-served. A starvation-free solution to the mutual exclusion problem for an unknown number of processes and under the constrain! of employing only a fixed number of weak semaphores has been conjectured not to exist [ 2 1. This paper refutes the conjecture by presenting an algorithm that solves the problem. The solution makes use of three binary semaphores that are assumed to enjoy the following weak property.
منابع مشابه
An Improved Token-Based and Starvation Free Distributed Mutual Exclusion Algorithm
Distributed mutual exclusion is a fundamental problem of distributed systems that coordinates the access to critical shared resources. It concerns with how the various distributed processes access to the shared resources in a mutually exclusive manner. This paper presents fully distributed improved token based mutual exclusion algorithm for distributed system. In this algorithm, a process which...
متن کاملPartial mutual exclusion for infinitely many processes
Partial mutual exclusion is the drinking philosophers problem for complete graphs. It is the problem that a process may enter a critical section CS of its code only when some finite set nbh of other processes are not in their critical sections. For each execution of CS, the set nbh can be given by the environment. We present a starvation free solution of this problem in a setting with infinitel...
متن کاملAbortable Reader-Writer Locks Are No More Complex Than Abortable Mutex Locks
When a process attempts to acquire a mutex lock, it may be forced to wait if another process currently holds the lock. In certain applications, such as real-time operating systems and databases, indefinite waiting can cause a process to miss an important deadline [20]. Hence, there has been research on designing abortable mutual exclusion locks, and fairly efficient algorithms of O(log n) RMR c...
متن کاملA Leader-Based k-Local Mutual Exclusion Algorithm Using Token for MANETs
The k-local mutual exclusion is a generalization of local mutual exclusion problem introduced by Attiya et al.. In k-local mutual exclusion, it is assumed that the k identical copies of a resource are shared among the geographically close nodes. The paper proposes a solution to the k-local mutual exclusion problem in MANETs. The algorithm uses a leader-based approach and the leader is equipped ...
متن کاملA fair starvation-free prioritized mutual exclusion algorithm for distributed systems
Several distributed mutual exclusion algorithms define the order in which requests are satisfied based on the priorities assigned to requests. These algorithms are very useful for real-time applications ones or those where priority is associated to a quality of service requirement. However, priority based strategies may result in starvation problems where high priority requests forever prevent ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Inf. Process. Lett.
دوره 8 شماره
صفحات -
تاریخ انتشار 1979