You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
process synchronization using semaphores and shared memory in C programming language | implement a basic solution to the classical problem of the N customers and M resources
This is a classical problem of Producer-Consumer (N customers & M resources).
Implementation
This implementation uses IPC System V.
Requirements
GCC compiler
Unix-based system with IPC System V libraries
Notes
In a real project you may want to add error handling to your code.
About
process synchronization using semaphores and shared memory in C programming language | implement a basic solution to the classical problem of the N customers and M resources