
Available under Creative Commons-ShareAlike 4.0 International License.
Example 10.9: pseudocode: Function with no parameter passing
Function clear monitor Pass In: nothing Direct the operating system to clear the monitor Pass Out: nothingEndfunction

Figure 10.10 Function clear monitor
Example 10.10: pseudocode: Function main calling the clear monitor function
Function main Pass In: nothing Doing some lines of code Call: clear monitor Doing some lines of code Pass Out: value zero to the operating systemEndfunction

Figure 10.11 Function main
- 1824 reads