[parisc-linux] Re: [PATCH] Fix the atomic compare and swap
John David Anglin
dave at hiauly1.hia.nrc.ca
Mon May 21 13:04:38 MDT 2007
> > Yah, this just occurred to me. It would be nice if the code could
> > use EAGAIN from errno.h but I can see that that's a bit tricky.
> > Possibly, a macro argument would work.
>
> I don't want to be at the *whim* of users who might redefine EAGAIN. I
> think the value should be fixed and immutable.
Users who redefine names reserved by POSIX should be lined up and ...
You are quite safe in fixing the value as any change in the error
number for EAGAIN would break binaries that check for this code.
Dave
--
J. David Anglin dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the parisc-linux
mailing list