003 Linux System ProgrammingIssues, queries and suggestions related to Linux, Linux Programming, IPC, Interprocess Communication, Synchronization, Semaphore, System Programming, Linux Software Development.
semaphores are integer based synchronization mechanisms used to control access to a critical section of code in a program that could be accessed by several threads of a process.
these are wait & signal mechanisms. sem_wait & sem_post utilise & release a resource. Resource could be a variable or a section of code that involves a variable.