Problem with cygserver and sysv message queues: msgsnd() blocks forever.

2008-04-29 Thread Williams, David
I've been debugging a problem with msgsnd() hanging. If there are no free msghdrs available, msgsnd() blocks with msleep(). Unfortunately, the only way it can unblock is if that specific queue frees a msghdr. If the queue in question is empty, this never occurs. I was able to isolate this

Problem with cygserver and sysv message queues: msgsnd() blocks forever.

2008-04-29 Thread Williams, David
Sorry, the first try was badly formatted. I didn't realize until I checked the archive site. I've been debugging a problem with msgsnd() hanging. If there are no free msghdrs available, msgsnd() blocks with msleep(). Unfortunately, the only way it can unblock is if that specific queue frees a

RE: Problem with cygserver and sysv message queues: msgsnd() blocks forever.

2008-04-30 Thread Williams, David
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen Sent: Wednesday, April 30, 2008 3:59 AM To: cygwin@cygwin.com Subject: Re: Problem with cygserver and sysv message queues: msgsnd() blocks forever. On Apr 29 17:57, Williams, David wrote

RE: Problem with cygserver and sysv message queues: msgsnd() blocks forever.

2008-04-30 Thread Williams, David
, April 30, 2008 11:58 AM To: cygwin@cygwin.com Subject: Re: Problem with cygserver and sysv message queues: msgsnd() blocks forever. On Apr 30 10:16, Williams, David wrote: Yes, I can patch and build the sources, and will test the patch. I can see that this will work, and is probably the least