Dealing with a shutdown during a file write?
Posted
by Ken
on Stack Overflow
See other posts from Stack Overflow
or by Ken
Published on 2010-05-01T13:47:31Z
Indexed on
2010/05/01
13:57 UTC
Read the original article
Hit count: 273
All,
I'm working on a Real-time system, VxWorks I think, I'm saving application settings to a file. What's the best way to handle preserving the settings if the system shuts down or loses power in the middle of a file write? All I can think of is shuffling a few files around or reducing the frequency at which i Save variables in order to reduce incidents.
© Stack Overflow or respective owner