An Efficient Semaphore Implementation Scheme for an Event

  • Sihn, Bong-sik (Department of Electronic Engineering, Han-Yang University) ;
  • Han, Ki-Hee (Department of Information & Communication, Han-Yang University) ;
  • Chong, Jong-Wha (Department of Information & Communication, Han-Yang University)
  • Published : 2002.07.01

Abstract

In this paper, we present a novel efficient semaphore implementation scheme which diminishes completion time of high priority tasks and improves reliability of a system. The real-time system is constrained to complete their tasks in time. Especially, the task of a hard real-time system must meet its deadline under unfavorable conditions. In this paper, the number and sort of the locked semaphores, when an event occurred, decide whether the context switch should occur or not, so higher priority tasks diminish in their completion time. The experimental results show that the proposed method gives performance improvements in finish time of high priority tasks of about 11% over the Zuberi.

Keywords