4 ms·
I have a tangential question: is there a name for the kind of diagram one sees on this wikipedia page involving rooms & doors? I've never seen it before. htt
by pohl 16y ago
I have a tangential question: is there a name for the kind of diagram one sees on this wikipedia page involving rooms & doors? I've never seen it before.
http://en.wikipedia.org/wiki/Condition_variable http://en.wikipedia.org/wiki/Condition_variable
- lmkg 16y agoIt looks like a variant of a basic floorplan, the sort you would use when designing the layout of your office. I've never seen it used with respect to algorithms.
- ygd 16y agoIt seems they're all some type of "monitor".
- deadlockfeet 16y agofrom my CS class last sem I clearly remeber this one: Semaphores and Monitors are different. Monitors are implemented by compiler to make sure that thread dont mess up with the memmory.However Semaphores are implemented by the porgrammers. A semaphore contains a value on which either up or down can be called to indicate its status also it has a queue which contains process which are sleeping and are waiting for the up on the semaphore to be called.
- deleted 16y ago[deleted]