I’ve already posted a response in this newsgroup directly answering this
question. Included in it was a clock monotonic version of
Subject: Re: CLOCK_MONOTONIC
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <firstname.lastname@example.org>
“kirk” <kirussel@NOSPAMrogers.com> wrote in message
Rejean Senecal <> email@example.com> > wrote:
In Rob Krten book at page 210 is taking about the
base on the CLOCK_MONOTONIC instead of the CLOCK_REALTIME, but the QNX
is saying that the function is base on CLOCK_REAL_TIME.
Our test show this function is affected is we change the realtime clock.
the any other mutex or semaphore function not affected by the change of
For a quick fix, one could take the source from cvs.qnx.com:
and change CLOCK_REALTIME to CLOCK_MONOTONIC (and change name of the
function) and link with the your modified code.
Kirk Russell Bridlewood Software Testers Guild