Hi Philippe,

it looks to me like all those *_timed functions are at least confusingly
documented - or broken. They all carry

 * @param abs_timeout An absolute date expressed in clock ticks,

and

 * @note @a abs_timeout is interpreted as a multiple of the Alchemy
 * clock resolution (see --alchemy-clock-resolution option, defaults
 * to 1 nanosecond).

However, they also all take a timespec argument as argument, means
seconds and nanoseconds, not "ticks" that will be multiplied by some
resolution. What was the intended API here? Or what should actually be
written here? "Absolute timeout in nanoseconds based on
CLOCK_COPPERPLATE, to be rounded according to that clock's resolution"?

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Reply via email to