Re: [PATCH 1/2] posix: Fix use of clock for relative times

2021-05-18 Thread Sebastian Huber
On 18/05/2021 18:05, Gedare Bloom wrote: } else { _Timecounter_Nanouptime( &uptime ); Shouldn't this also be _Timecounter_Nanotime( &now) in case of using CLOCK_REALTIME? Yes, I will fix this. I didn't notice this, due to the changes in patch 2/2. -- embedded brains GmbH Herr Sebast

Re: [PATCH 1/2] posix: Fix use of clock for relative times

2021-05-18 Thread Gedare Bloom
On Tue, May 18, 2021 at 7:05 AM Sebastian Huber wrote: > > Close #4426. > --- > cpukit/posix/src/clocknanosleep.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/cpukit/posix/src/clocknanosleep.c > b/cpukit/posix/src/clocknanosleep.c > index

[PATCH 1/2] posix: Fix use of clock for relative times

2021-05-18 Thread Sebastian Huber
Close #4426. --- cpukit/posix/src/clocknanosleep.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cpukit/posix/src/clocknanosleep.c b/cpukit/posix/src/clocknanosleep.c index 951268bc1f..eb7f231e86 100644 --- a/cpukit/posix/src/clocknanosleep.c +++