These code snippets are used to simulate real life problems with the help of threads, mutex , locks , semaphores and conditional variable
.
In this problem we have to simulate the allocation of TA to a course, tutorial taking place and students filling their prefernces and choosing their course.
For more details see README OF QUES 1
The problem ask us to simulate situation where
- Spectators are buying thier tickets
- Teams are scoring goals
- Spectators are leaving beacuse of some reason
For more details check README OF Q2
We have a client that has m strings that they want to send to server for processing, these m strings have to send at a particular instance so it is seen as multithreaded client (having m threads) that connect with a server room
The server room has n threads to send back the data
For more details check README OF Q3