kostyash | 9 years ago | on: Nuclear plant shutdowns tied to coal pollution, decreased birth weights
kostyash's comments
kostyash | 9 years ago | on: What Vizio was doing behind the TV screen
kostyash | 9 years ago | on: China Will Resurrect the World's Largest Plane
kostyash | 9 years ago | on: Fork() without exec() is dangerous in large programs
Btw, Redis reminds me, one really awesome usage of fork. To make a snapshot of itself Redis forks the main process. After that the child simply goes through tuples and write them to a files with out any worries that somebody will modify a records. Copy-on-write mechanism simply prevents it.
Redis save snapshot code: https://github.com/antirez/redis/blob/unstable/src/rdb.c#L99...
kostyash | 9 years ago | on: Fork() without exec() is dangerous in large programs