A program that simulates a one-directional bridge (using locks and conditional variables) in C.