Commit 88e42619 authored by Alexandre Julliard's avatar Alexandre Julliard

Store dirty flag in each registry key and use it to save only modified

branches.
parent dcf0beac
......@@ -186,6 +186,7 @@ extern int get_page_size(void);
/* registry functions */
extern void init_registry(void);
extern void flush_registry(void);
extern void close_registry(void);
/* atom functions */
......@@ -199,6 +200,7 @@ extern void release_global_atom( atom_t atom );
/* command-line options */
extern int debug_level;
extern int master_socket_timeout;
extern const char *server_argv0;
/* server start time used for GetTickCount() */
extern unsigned int server_start_ticks;
......
......@@ -225,7 +225,7 @@ static void sighup_handler()
/* SIGTERM handler */
static void sigterm_handler()
{
close_registry();
flush_registry();
exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment