Re: Unsufficient number of semaphores in a set

2004-05-19 Thread Krzysztof Duleba
Corinna Vinschen wrote: > > In /usr/include/cygipc/sys one can find > > > > #define SEMMSL 32 /* <= 512 max num of semaphores per id */ > > > > It's obviously not the case. How can I have Cygwin allowing semaphore set > > of size 250? > > First question: Are you using cygipc or cygs

Re: Unsufficient number of semaphores in a set

2004-05-19 Thread Corinna Vinschen
On May 19 02:08, Krzysztof Duleba wrote: > Hello > > I expreience strange Cygwin behaviour when I try to create a big semaphore > set. I wrote a simple test case as following: > [...] > My Cygwin returns: > > $ echo 59|./semtest > ok > > $ echo 60|./semtest > ok > > $ echo 61|./semtest > 22; In

Unsufficient number of semaphores in a set

2004-05-18 Thread Krzysztof Duleba
Hello I expreience strange Cygwin behaviour when I try to create a big semaphore set. I wrote a simple test case as following: $ cat semtest.c #include #include #include #include int main(){ int i, sem_id; scanf("%d", &i); if((sem_id = semget(1000, i, IPC_CREAT | IPC_EXCL)) == -1){