Skip to content

Latest commit

 

History

History

Multithreading_Basics_Lab_5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Multithreading - Basics (Lab 5)

1. Thread Data

Use the fork functions to create threads and use a common print function to print the details of all the created threads

2. Functions for Threads

Use the fork functions to create 2 threads and serve them with different functions for them to implement.

3. Semaphores

Demonstrate the use of Semaphores with a simple to design program.

4. Multitasking

Use two different threads to sort an array, as well as to print the first 10 numbers of the Fibonacci series.