Write a multithread process C program using the following st
Write a multithread process C program using the following statement.
A group of fraternity brother and sorority sisters is having a party and drinking from a large communal keg that can hold N servings of soda. When a partier wants to drink, he or she fills a cup from keg, unless it is empty. If the keg is empty, the partier wakes up the pledge and then waits until the pledge has returned with a new keg.
Solution
define _REENTRANT #include