Feb. 13, 2012
2:30 a.m.
Hi All, I am doing POSIX test on linux. And for mq_timedreceive() in POSIX spec 2008 Issue 7, Line 43787: The validity of the abstime parameter need not be checked if a message can be removed from the message queue immediately. But when I run test case mq_timedreceive/10-2 of POSIX suite (can be viewed at : http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp.git;a=blob;f=testcas...), mq_timedreceive() could get the message without wait, but the timeout is still validated. Do we intend to do so, or the implementation needs update? Thanks and Regards, Kai