Re: nanosleep.c remarks

2016-08-01 Thread Pavel Pisa
Hello Gedare On Monday 01 of August 2016 17:21:14 Gedare Bloom wrote: > On Mon, Aug 1, 2016 at 1:18 AM, Sebastian Huber > It would be good to add some test cases calling clock_settime() and > delivering signals while a thread nanosleep()s. I don't know that we > have those cases tested yet. > > Th

Re: nanosleep.c remarks

2016-08-01 Thread Gedare Bloom
On Mon, Aug 1, 2016 at 1:18 AM, Sebastian Huber wrote: > Hello Pavel, > > On 30/07/16 19:40, Pavel Pisa wrote: [...] >> >> Then the time stuff. >> >> nanosleep_helper() does not distinguish between CLOCK_REALTIME >> and CLOCK_MONOTONIC when it computes remaining time (rmtp). >> But the intention o

Re: nanosleep.c remarks

2016-07-31 Thread Sebastian Huber
Hello Pavel, On 30/07/16 19:40, Pavel Pisa wrote: Hello Gedare and Sebastian, as the clock_nanosleep is in the place now, I am trying to analyze consequences and I have some questions. The first one, why is _Nanosleep_Pseudo_queue required there. nanosleep is critical function for realtime and

nanosleep.c remarks

2016-07-30 Thread Pavel Pisa
Hello Gedare and Sebastian, as the clock_nanosleep is in the place now, I am trying to analyze consequences and I have some questions. The first one, why is _Nanosleep_Pseudo_queue required there. nanosleep is critical function for realtime and it is quite possible that many threads on more CPUs