Skip to content

Commit 4b249aa

Browse files
committed
Update ReadMe.md
Add new text in line 181.
1 parent a87fd9b commit 4b249aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ If I use other commands other than P() and V(), I will get 0 points.
178178
    The initial values of semaphores are very important. Semaphore values must be greater than 0. There are no points in setting a negative semaphore value. Before and after the *printf* statements, please use ```P()```, ```V()``` to achieve your goal. Good luck.
179179
    In ```sem.c```, the following two functions are provided for me to observe and debug. I cannot use them in the final program. If I use, 0 point will be graded.
180180
    ```get_blocked_no(semid)```: return the number of processes
181-
    ```get_sem_val(semid)```:
181+
    ```get_sem_val(semid)```: return the semaphore value of semid.

0 commit comments

Comments
 (0)