Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2007
MultiThreading/Synchronization - Posix Vs System V - Semaphore (sem_t, semget)
I am new to linux and so to this forum.First of all I would like to thank every one in this forum. It answered lots of my questions.
I searched for the below questions, but i could not find any concrete answers.
1) On windows , when creating a semaphore , one can set the max count ,
how is this done using posix sem_t ? sem_init() takes only the initial
value ! ??
2) What is System V ? It has some calls like semget(), semctl() etc. which
one should one use ?
if there is documentation explaining the differences , please post the link.
Thanks in advance,