HDUHomework icon indicating copy to clipboard operation
HDUHomework copied to clipboard

Why task_struct->sibling always has a pid 0 sibling

Open imba-tjd opened this issue 7 years ago • 0 comments

see this code.

qq 20180615113240

It will always has a pid 0 sibling even if there is actually no sibling.

And if I use p->parent->children then everything works fine.

imba-tjd avatar Jun 15 '18 03:06 imba-tjd