Re: sem_open value

2013-11-21 Thread Vadim Zhukov
2013/11/21 Ted Unangst : > Read the standard again and discovered some more missing features. > > 1. sem_open allows setting the value via a fourth argument. Fixed. > > 2. Multiple sem_open calls of the same path in the same process are > supposed to return the same pointer. Not the same semaphore,

sem_open value

2013-11-20 Thread Ted Unangst
Read the standard again and discovered some more missing features. 1. sem_open allows setting the value via a fourth argument. Fixed. 2. Multiple sem_open calls of the same path in the same process are supposed to return the same pointer. Not the same semaphore, the same pointer. This is mind bog