tech-kern archive

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

Re: {clock,pthread}_getcpuclockid return values

On Mar 3,  8:55am, (Nicolas Joly) wrote:
-- Subject: Re: {clock,pthread}_getcpuclockid return values

| Here is a patch, for review, that fix them on the wrapper side ... I
| prefer keeping the never failing syscalls as an exception.
| I'll do a second pass later on the man pages as ERRORS section seems
| wrong. clock_getcpuclockid2 can fail with EFAULT (copyout) or EINVAL
| (invalid idtype); but wrappers have valid fixed idtype argument
| leaving only EFAULT.

Looks good to me and yes, let's fix the man pages in a second pass.


Home | Main Index | Thread Index | Old Index