Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You swapped the child and parent in the printf statements here https://peteris.rocks/blog/htop/#z-defunct-zombie-process-te....

  printf("The parent process is exiting now\n");
This should read child is exiting.

  printf("The child process is sleeping now\n");
This should read parent is sleeping.

Overall, I really enjoyed the article.



Thanks for catching that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: