This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin >= 1.7.6 open message queues - permission denied

On Oct  6 13:21, Corinna Vinschen wrote:
> On Oct  6 10:13, Manuel Wienand wrote:
> > Hi,
> > 
> > I noticed that I get a permission denied error when I try to open a message queue in the same process or
> > in an other process.
> > The problem can be reproduced using the code given at:
> Confirmed.  I'll investigate.

Fixed in CVS.  While debugging I found a subtile synchronization problem
in the message queue implementation which apparently never was a problem
in W. Richard Stevens original implementation.  Under some circumstances
a deadlock could occur because the Windows scheduler didn't give any
time to another process waiting for the same event object.  I fixed that
now by splitting the single event object which was used to signal both,
a full as well as an empty queue. into two separate event objects.  So,
that's why the fix took a while longer than anticipated.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]