Mutual Exclusion (Mutex) With a Semaphore

38
MUTUAL EXCLUSION (MUTEX) WITH SEMAPHORES G.PRABHAKAR, M.Tech, Ph.D Assistant Professor, Syed Ammal Engineering College.

description

Concept about MUTEX and its programming explanation

Transcript of Mutual Exclusion (Mutex) With a Semaphore

  • MUTUAL EXCLUSION (MUTEX) WITH SEMAPHORESG.PRABHAKAR, M.Tech, Ph.DAssistant Professor,Syed Ammal Engineering College.

  • Definition from the Author RajkamalMutexWhen a binary semaphore is used to at the beginning and end of critical sections in two or more tasks such that at any instance only one section code can run, then the semaphore is called mutex