Hacker News new | ask | show | jobs
by FeepingCreature 1416 days ago
Sure you can just exit(), you just have to be sure that all your on-disk state changes are atomic. Which you should make sure of anyways.