Multi-threaded C Program to control traffic light

00001.png

We created this multithreaded program to control traffic lights at a two way intersection. We then deployed it on an Real Time Linux device compiled using Yocto. It implements many advanced features of C such as mutexes, threads, and semaphores.