In: Computer Science
Use any C program without using PTHREADS calculate time taken to execute program.
please I need the c code..
critical section |
|||
mutex solution |
|||
semaphore functions |
|||
Barriers |
|||
Read-Write Locks |
Run program using 1, 2, 4, and 8 threads Comparison study (1.5 marks)
Number of threads |
||||
Implementation |
1 |
2 |
4 |
8 |
critical section |
||||
mutex solution |
||||
semaphore functions |
||||
Barriers |
||||
Read-Write Locks |