3 ms·
Not really, as fork() involves COW so nothing is really copied, and subsequent SIGKILL will only remove process structures, not data itself.
by garaetjjte 5y ago
Not really, as fork() involves COW so nothing is really copied, and subsequent SIGKILL will only remove process structures, not data itself.
- emptyparadise 5y agoI think that opens a whole new can of worms for philosophical debates but the paradox still stands. How would a sentient AI feel about executing `if (fork() > 0) { exit(0); }` in its own process?