Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 539888 | Differences between
and this patch

Collapse All | Expand All

(-)a/debugger/src/dconfig.c (-1 / +2 lines)
Lines 271-276 static gpointer saving_thread_func(gpointer data) Link Here
271
{
271
{
272
	GTimeVal interval;
272
	GTimeVal interval;
273
	GMutex *m = g_mutex_new();
273
	GMutex *m = g_mutex_new();
274
    g_mutex_lock(m);
274
	do
275
	do
275
	{
276
	{
276
		g_mutex_lock(change_config_mutex);
277
		g_mutex_lock(change_config_mutex);
Lines 316-321 static gpointer saving_thread_func(gpointer data) Link Here
316
		g_time_val_add(&interval, SAVING_INTERVAL);
317
		g_time_val_add(&interval, SAVING_INTERVAL);
317
	}
318
	}
318
	while (!g_cond_timed_wait(cond, m, &interval));
319
	while (!g_cond_timed_wait(cond, m, &interval));
320
    g_mutex_unlock(m);
319
	g_mutex_free(m);
321
	g_mutex_free(m);
320
	
322
	
321
	return NULL;
323
	return NULL;
322
- 

Return to bug 539888