Philosophers
Multithreading & Synchronization in C
A systems concurrent programming implementation in C that solves the classic Dining Philosophers problem, preventing deadlocks and data races across concurrent threads.
Managing thread life cycles with microsecond precision while preventing starvation and race conditions.
Utilized POSIX pthreads, mutex locks for chopstick resource allocation, and a dedicated observer monitor thread.
Proves deep mastery over multithreaded architecture, race condition avoidance, and mutex locking strategies.
Technical Key Highlights
- ▸Deadlock-free mutex allocation strategy
- ▸Zero data races verified with ThreadSanitizer
- ▸Microsecond precision timing for action logging