| |
LCS-2016-033 |
| |
2 {11-Feb-2017} 1 {26-Dec-2016} |
| |
11-Feb-2017 |
| |
Voting |
| |
Jim Lewis |
| |
Main.JimLewis |
| |
Composition with Protected Types |
| |
history |
| |
Composition with Protected Types |
type PT is protected shared variable v1 : some_PT1; shared variable v2 : some_PT2; procedure p; end protected; -- body declaration shared variable sv : PT;One process can call a method on
sv.v1, wheres another one can call a method on sv.v2, and a third one can call a method on sv --- all at the same time!
Is this what you want?
--