Re: File access questions
Nathan Sims <[email protected]> Wed, 16 Nov 2011 09:36:48 -0800
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Nov 15, 2011, at 11:52 PM, SD wrote: > If you are going to use files, then you want to use file locking. On Nov 15, 2011, at 11:29 PM, Kyle Sluder wrote: > You want to look into file locks (flock) The integrity of the data being written/read (from one update to the = next) isn't critical (representing very small changes in temperature), = so flock() looks like it should be sufficient if all processes = cooperate.=20 Thanks!