Re: [PATCH] testsuite/psxclock: Check setting realtime clock

2022-08-03 Thread Chris Johns
On 4/8/2022 3:56 pm, Sebastian Huber wrote: > Hello Chris, > > On 02/08/2022 02:42, chr...@rtems.org wrote: >> This patch adds a test to make sure threads sleeping on a >> clock_nanosleep(CLOCK_REALTIME) call are not effected by a >> change in the realtime clock via the clock_settime(CLOCK_REALTIM

Re: [PATCH] testsuite/psxclock: Check setting realtime clock

2022-08-03 Thread Sebastian Huber
Hello Chris, On 02/08/2022 02:42, chr...@rtems.org wrote: This patch adds a test to make sure threads sleeping on a clock_nanosleep(CLOCK_REALTIME) call are not effected by a change in the realtime clock via the clock_settime(CLOCK_REALTIME). The tests checks the sleeping thread's period using

[PATCH] testsuite/psxclock: Check setting realtime clock does not effect sleeping tasks

2022-08-01 Thread chrisj
From: Chris Johns Closes #4690 --- testsuites/psxtests/psxclock/init.c | 172 +++- 1 file changed, 171 insertions(+), 1 deletion(-) diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c index 2300056f61..743cfa6d78 100644 --- a/testsuite

[PATCH] testsuite/psxclock: Check setting realtime clock

2022-08-01 Thread chrisj
Hi This patch adds a test to make sure threads sleeping on a clock_nanosleep(CLOCK_REALTIME) call are not effected by a change in the realtime clock via the clock_settime(CLOCK_REALTIME). The tests checks the sleeping thread's period using clock ticks. I have checked the test and Sebastian's p