Re: SEMCTL fails with error 22

2016-03-19 Thread Marco Atzeri
On 17/03/2016 12:17, Meenakshi Pant wrote: Hi , Now We have only 1 Cygwin installation in my system that points to L:\misys\ Attached is cygcheck.out do you look on your file ? 3399k 2015/08/20 L:\bmpcunix\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2

Re: SEMCTL fails with error 22

2016-03-19 Thread Meenakshi Pant
Hi , Now We have only 1 Cygwin installation in my system that points to L:\misys\ Attached is cygcheck.out We do not have any security setup in this system. Also we are able to execute cygwin version 1.7.32 in same system. Please help me or some clue where could be the problem. On Fri, Mar 11,

Re: SEMCTL fails with error 22

2016-03-11 Thread Marco Atzeri
On 11/03/2016 12:50, Meenakshi Pant wrote: Hi Attached the file cygcheck.out. Downloaded CYGWIN for 32 bit. Tested in both 32 and 64 bit. Getting the same problem. As you have at least two installations on your system Are you sure that L:\misys and C:\cygwin are not interfering ? Which one

Re: SEMCTL fails with error 22

2016-03-11 Thread Marco Atzeri
On 11/03/2016 11:52, Meenakshi Pant wrote: For me the out put is when cygserver is up. Semaphore Test Semaphore created successfully 196608 Value before errno = 0 Cannot set semaphore value.errno = 22 When cygserver is down the output is Semaphore Test Unable to obtain semaphore 8

Re: SEMCTL fails with error 22

2016-03-11 Thread Meenakshi Pant
For me the out put is when cygserver is up. Semaphore Test Semaphore created successfully 196608 Value before errno = 0 Cannot set semaphore value.errno = 22 When cygserver is down the output is Semaphore Test Unable to obtain semaphore 88 After bringing up cygserver the command 'cygche

Re: SEMCTL fails with error 22

2016-03-11 Thread Achim Gratz
Meenakshi Pant gmail.com> writes: > My program creates a semaphore, but moving further the SEMCTL function > is failing with error 22 with the latest CYGWIN 2.4. The cygserver is > up. > > Below is the simplified code as a test case.It fails with the same > error as my original program. WJFFM wi

SEMCTL fails with error 22

2016-03-11 Thread Meenakshi Pant
Hi, My program creates a semaphore, but moving further the SEMCTL function is failing with error 22 with the latest CYGWIN 2.4. The cygserver is up. Below is the simplified code as a test case.It fails with the same error as my original program. /* semtest.c - program to test semaphore */ #incl