panoramix
The classic producer–consumer problem, Asterix style: villagers keep drinking from a shared pot of magic potion while the druid refills it, and nobody may drink from an empty pot or refill a full one. Solved with threads, a mutex and semaphores, and tested across many configurations to rule out deadlocks.
Team
Solo
Context
Epitech project, 2nd year
Status
Done
