Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - sem_open function initial value problem: (1 Item)
   
sem_open function initial value problem  
When I use sem_open open a named semaphore,like mysem = sem_open("/temp_sem",O_CREAT,S_IRWXU,0),but when I called 
sem_getvalue(mysem, &value) ,the value got is not zero,why? Thanks for your help!