An Efficient Semaphore Implementation Scheme with Event

이벤트를 고려한 효과적인 세마포어 구현 알고리듬

  • Han, Ki-Hee (Dept. of Information & Communication, Han-Yang University) ;
  • Sihn, Bong-Sik (Dept. of Electronic Engineering, Han-Yang University) ;
  • Pi, Chan-Ho (Dept. of Information & Communication, Han-Yang University) ;
  • Chong, Jong-Wha (Dept. of Information & Communication, Han-Yang University)
  • 한기희 (한양대학교 정보통신학과) ;
  • 신봉식 (한양대학교 전자공학과) ;
  • 피찬호 (한양대학교 정보통신학과) ;
  • 정정화 (한양대학교 정보통신학과)
  • Published : 2002.04.12

Abstract

In this paper, we present a novel semaphore implementation scheme which shortens finish time of high priority tasks and improves reliability of a system. The real-time systems have time constraints. Especially, the task with hard real-time constraints must meet its deadline. Consequently, managing shared resources is considered guaranteeing mutual exclusion as well as meeting task's deadline under unfavorable condition. According to the number and sort of the locked semaphores under the event occurred, this paper presents the reduction of the finish time of high priority task by decision whether the context switched or not. The experimental results show that the proposed method gives performance improvements in finish time of high priority tasks of about 11% over zuberi[4] method.

Keywords