Skip to content

Latest commit

 

History

History
21 lines (9 loc) · 536 Bytes

File metadata and controls

21 lines (9 loc) · 536 Bytes

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.