# | Line 358 | Line 358 | int sem_destroy(sem_t *sem) | |
---|---|---|
358 | ||
359 | int sem_wait(sem_t *sem) | |
360 | { | |
361 | – | int cnt = 0; |
362 | – | struct timespec tm; |
363 | – | |
361 | if (sem == NULL) { | |
362 | errno = EINVAL; | |
363 | return -1; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |