Mac OS X and Linux examples demonstrating one process safely writing a file which one or more other processes can actively read from.