Skip to content
Snippets Groups Projects
Commit 1ac20a00 authored by Theodor Larsson's avatar Theodor Larsson
Browse files

txt file added

parent 49d0e4b7
No related branches found
No related tags found
No related merge requests found
1. Busy waiting is when the CPU is run at 100% waiting for its turn with a resource, e.g sitting in a while loop.
2. Sleep causes the thread to suspend itself for a duration while yield suspends the thread and puts it at the back of the ready queue.
3. Locks cannot be shared and semaphores can have more choices than locked/unlocked. A deadlock is when the program is stuck because threads waiting for each other without any of them making any progress.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment