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

Parent said as soon as it is able to fork a new process, which still isn't quite right (it's the child that quits, as you say) but not the error you seem to be responding to.


He didn't say this when I replied.


Ah, do you remember what it said?


I got it swapped around initially:

"while(1) {fork()}; is "better", as the version you mention will quit as soon as it is not able to fork a new process."

or something similar


Gotcha.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: