I’m porting code from QNX4 to QNX6, and I’ve been trying to set the clock
resolution using ClockPeriod(CLOCK_REALTIME,&clock_period,NULL,0), which the
migration guide states is the Neutrino equivalent to clock_setres() in QNX4.
I’m trying to set the clock resolution to 499504 ns, which is the clock
resolution for Intel chips. ClockPeriod() returns an EINVAL, though, when I
try to do this. Is there another way of setting the clock resolution that
I’m unaware of? If not, does anyone know how to get around the fact that
Intel chip resolution is different from the smallest clock period allowable
Thanks in advance.