On segunda-feira, 11 de novembro de 2013 10:16:18, Francisco Ares wrote:
> Hi,
> 
> I am finishing an embedded system, using Linux and Qt as the base of the
> application that manages the system, and as a manager to a SQLite database
> for this application.  As it will be using a flash SATA module, I would not
> like to do many and frequent write operations to it.
> 
> So, I would like to know, on a ACPI shutdown request, how to safely commit
> the remaining data to the database.

Make the ACPI shutdown request cause some noticeable change in the application 
state. For example, a SIGTERM, which you can catch and cause the data to be 
saved.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to