Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why task_struct->sibling always has a pid 0 sibling #2

Open
imba-tjd opened this issue Jun 15, 2018 · 0 comments
Open

Why task_struct->sibling always has a pid 0 sibling #2

imba-tjd opened this issue Jun 15, 2018 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@imba-tjd
Copy link
Owner

imba-tjd commented Jun 15, 2018

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 imba-tjd added the help wanted Extra attention is needed label Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant