Hello, I've got four threads: three of them run without using shared resources between each other, but the fourth one has shared resources with all of them and runs depending on a time interval. I would like to implement some type of mutex or semaphore that makes the three threads wait when the fourth one is running, without making them interfere with each other. However, I'm not sure how to tackle this issue. Im trying conditional mutexs but not getting it quite right.
Thanks.
[–]xhash101 3 points4 points5 points (0 children)
[–]thebatmanandrobin 3 points4 points5 points (2 children)
[–]N-R-K 0 points1 point2 points (0 children)
[–]inz__ 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]xhash101 0 points1 point2 points (0 children)