Unix semaphore# Unix - 噫吁兮,危乎高哉
d*s
1 楼
I use system V semaphore.
But for "semget" function, I can only set the key=1234,
nsem=1.
For any other key value, the function will fail "No space
left on device".
For key=1234, nsem!=1, the function will fail, not valid
argument.
What is wrong?
Thanks!
But for "semget" function, I can only set the key=1234,
nsem=1.
For any other key value, the function will fail "No space
left on device".
For key=1234, nsem!=1, the function will fail, not valid
argument.
What is wrong?
Thanks!