{
GTimeVal interval;
GMutex *m = g_mutex_new();
g_mutex_lock(m);
do
g_mutex_lock(change_config_mutex);
g_time_val_add(&interval, SAVING_INTERVAL);
}
while (!g_cond_timed_wait(cond, m, &interval));
g_mutex_unlock(m);
g_mutex_free(m);
return NULL;
-