Hacker News new | ask | show | jobs
by idsout 3483 days ago
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.

1 comments

Thanks for catching that.