Re: Does the mq_timedreceive() fully implement the POSIX specification?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bernd,



On Tue, Feb 14, 2012 at 10:07 AM, K K <knewsgroup@xxxxxxxxx> wrote:
Hi Bernd,

On Mon, Feb 13, 2012 at 4:51 PM, Bernd Petrovitsch <bernd@xxxxxxxxxxxxxxxxxxx> wrote:
Hi!

On Mon, 2012-02-13 at 10:30 +0800, K K wrote:
[....]
> 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.
>

Sorry about that I miss the previous sentence, the whole paragraph is:

Under no circumstance shall the operation fail with a timeout if a message can be removed from
the message queue immediately. The validity of the abstime parameter need not be checked if a
message can be removed from the message queue immediately.

It seems that the first sentence is more affirmative that the timeout should not be checked when a message can be removed from message queue immediately.
How do you think?

Thanks,
Kai

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux