Description: Experiments provides five semaphore (s0- s4) and 20 process (pid 0-19). The running of the application process
Type in pro commands, signal commands and showdetail command shows each semaphore state. Specific input explain such as
Next:
1) pro obtain semaphore operation (P operation).
Sname 2 pid parameters 1.
Example pro (s1, 2). Process for 2 process application, the name for s1 semaphores.
2) signal release semaphore operation (V operation).
Parameter 1 sname.
Example signal (s1). Release semaphore name for s1 the amount of signals.
3) showdetail shows every semaphore status and wait queue.
4) exit exit command line.
To Search:
File list (Check if you may need any files):
basic.h
1.cpp