Quantcast
Channel: Frank Sun » C
Viewing all articles
Browse latest Browse all 10

sem_overview

$
0
0
Namesem_overview – Overview of POSIX semaphores Description POSIX semaphores allow processes and threads to synchronise their actions. A semaphore is an integer whose value is never allowed to fall below zero. Two operations can be performed on semaphores: increment the semaphore value by one (sem_post(3)); and decrement the semaphore value by one (sem_wait(3)). If the Read More →

Viewing all articles
Browse latest Browse all 10

Trending Articles