Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 323 Bytes

File metadata and controls

12 lines (10 loc) · 323 Bytes
layout post
title 10.4 Exercise
parent 10. 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 (and they are preemptive)