1.7.8: mq_timedreceive() blocks, mq_receive() with O_NONBLOCK blocks, too
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Mar 3 11:14:00 GMT 2011
On Mar 3 10:57, Manuel Wienand wrote:
> Hi,
>
> I have a problem with the mqueues.
> If I use mq_timedreceive() and do not set O_NONBLOCK, mq_timedreceive() blocks forever and eats 100% of one cpu core.
> If I use mq_receive() and set O_NONBLOCK, mq_receive() blocks forever (0% cpu).
Thanks for the testcase! I can reproduce it. I'm a bit out of
spare time right now, but I think I'll have a fix soon. Stay tuned.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list