Turn on the flag of semaphore then entering critical section
- Parameters:
-
| semid | semaphore identifier |
| semno | semaphore number |
- Returns:
- true if successful, otherwise returns false
- Note:
- If the semaphore is already turned on, this will wait until released
Definition at line 168 of file qSem.c.