Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 328 Bytes

exercise.md

File metadata and controls

12 lines (10 loc) · 328 Bytes
layout title parent
post
9.4 Exercise
Lesson 9: Mutexes

2 preemptive threads

1 integer value, we want to in one thread add 1 and in the other subtract one. If we don't use mutex then unpredictable results If we do it should stay at same value even though 2 different priorities threads (adn they are preemptive)