[PATCH] testsuite/psxclock: Check setting realtime clock

Chris Johns chrisj at rtems.org
Thu Aug 4 05:58:17 UTC 2022


On 4/8/2022 3:56 pm, Sebastian Huber wrote:
> Hello Chris,
> 
> On 02/08/2022 02:42, chrisj at 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 clock ticks.
>>
>> I have checked the test and Sebastian's patch on:
>>
>>   arm/xilinx_zynq_a9_qemu
>>   sparc/erc32
>>   aarch64/xilinx_zynqmp_lp64_zu3eg
> 
> I checked in the fix for relative CLOCK_REALTIME sleeps.

Great. I was waiting for you to merge that change before pushing this. :)

Chris


More information about the devel mailing list