I'm wondering because I have a script that writes to the same temp file in a loop. Would that be the best way to go about it?
PHP in general in synchronous.