Re: [patch 6/6] posix-cpu-timers: Make PID=0 and PID=self handling consistent

2019-09-23 Thread Thomas Gleixner
On Mon, 23 Sep 2019, Frederic Weisbecker wrote: > On Thu, Sep 05, 2019 at 02:03:45PM +0200, Thomas Gleixner wrote: > > If the PID encoded into the clock id is 0 then the target is either the > > calling thread itself or the process to which it belongs. > > > > If the current thread encodes its ow

Re: [patch 6/6] posix-cpu-timers: Make PID=0 and PID=self handling consistent

2019-09-23 Thread Frederic Weisbecker
On Thu, Sep 05, 2019 at 02:03:45PM +0200, Thomas Gleixner wrote: > If the PID encoded into the clock id is 0 then the target is either the > calling thread itself or the process to which it belongs. > > If the current thread encodes its own PID on a process wide clock then > there is no reason not

[patch 6/6] posix-cpu-timers: Make PID=0 and PID=self handling consistent

2019-09-05 Thread Thomas Gleixner
If the PID encoded into the clock id is 0 then the target is either the calling thread itself or the process to which it belongs. If the current thread encodes its own PID on a process wide clock then there is no reason not to treat it in the same way as the PID=0 case. Signed-off-by: Thomas Glei