lkml.org 
[lkml]   [2023]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] introduce __next_thread(), change next_thread()
Argh...

sorry for noise,

On 08/24, Oleg Nesterov wrote:
>
> No. Please note that, say,
>
> do {
> do_something(t);
> } while_each_thread(current, t);
>
> differs from for_each_thread() in that it loops starting from current,
> not current->parent.
^^^^^^
just in case, of course I meant current->group_leader

Oleg.

\
 
 \ /
  Last update: 2023-08-24 17:58    [W:0.305 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site