Skip to content

Simulate working of Busy Mess Meal Allocation System and Cab Booking System using multithreading concepts

Notifications You must be signed in to change notification settings

kalyan2012/MultithreadingExamples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreading Examples

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

qsort.c:

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.

MessAllocation.c:

A system that simulates chefs cooking biryani and serving to tables which in turn serve students arriving at random times.

CabBooking.c:

A a system that simulates booking of two types of cabs, pool and premier. Also implemented timed wait and payment servers.

About

Simulate working of Busy Mess Meal Allocation System and Cab Booking System using multithreading concepts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%