DocumentCode
3211183
Title
An efficient semaphore implementation scheme for small-memory embedded systems
Author
Zuberi, Khawar M. ; Shin, Kang G.
Author_Institution
Dept. of Electr. Eng. & Comput. Sci., Michigan Univ., Ann Arbor, MI, USA
fYear
1997
fDate
9-11 Jun 1997
Firstpage
25
Lastpage
34
Abstract
In object-oriented programming, updates to the state variables of objects (by the methods of the object) have to be protected through semaphores to ensure mutual exclusion. Semaphore operations are invoked each time an object is accessed, and this represents significant run-time overhead. This is of special concern in cost-conscious, small-size embedded systems-such as those used in automotive applications-where costs must be kept to an absolute minimum. Object-oriented programming can be feasible in such applications only if the OS provides efficient, low-overhead semaphores. The authors present a new semaphore implementation scheme which saves one context switch per semaphore lock operation in most circumstances and gives performance improvements of 18-25% over traditional semaphore implementation schemes
Keywords
object-oriented programming; real-time systems; automotive applications; context switch; efficient low-overhead semaphores; mutual exclusion; object-oriented programming; performance improvements; run-time overhead; semaphore lock operation; small-memory embedded systems; small-size embedded systems; state variable updates; Automotive applications; Costs; Embedded computing; Embedded system; Laboratories; Microcontrollers; Object oriented programming; Real time systems; Switches; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time Technology and Applications Symposium, 1997. Proceedings., Third IEEE
Conference_Location
Montreal, Que.
Print_ISBN
0-8186-8016-4
Type
conf
DOI
10.1109/RTTAS.1997.601325
Filename
601325
Link To Document