Hello List$B!'(B
$B!!(BI have a problem with msgrcv().
I have used msgrcv() in my source to receive messages in a while(1).
But it returned an error in errno 514(ERESTARTNOHAND).
I search this error in net, and it seems to be should not happen in user program.
But it happened in my program, and once only. I didn$B!G(Bt see it happens after that once.
My question is how can I make this error happen again?
And how can I fix it?
I saw RedHat has fixed the problem, but no details on their website.
My OS is Montavista 5.0(Kernel2.6.18).
Thanks
2010/8/27 ???ļ? <[email protected]>:
> Hello List??
>
> ??I have a problem with msgrcv().
>
> I have used msgrcv() in my source to receive messages in a while(1).
>
> But it returned an error in errno 514(ERESTARTNOHAND).
>
> I search this error in net, and it seems to be should not happen in user
> program.
>
> But it happened in my program, and once only. I didn't see it happens after
> that once.
>
>
>
> My question is how can I make this error happen again?
>
> And how can I fix it?
>
>
>
> I saw RedHat has fixed the problem, but no details on their website.
>
http://rhn.redhat.com/errata/RHSA-2008-0612.html
the website had list the src rpm name. kernel-2.6.18-92.1.10.el5.src.rpm
you can use google to search the kernel src rpm and check the code changes.
>
>
> My OS is Montavista 5.0(Kernel2.6.18).
>
>
>
> Thanks
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Best Regards
Lin