To compile and run any file execute the following command:
gcc <filename>.c -lpthread
./a.out
For detailed explanation of implementation of all these codes please refer to the ReportDocs.pdf
Implementation of the quick sort algorithm in 3 ways: normally, using processes, and using threads. Runtime of all these methods are compared for the given input.
A system that simulates chefs cooking biryani and serving to tables which in turn serve students arriving at random times.
A a system that simulates booking of two types of cabs, pool and premier. Also implemented timed wait and payment servers.