evolution-data-server r9319 - trunk/camel



Author: psankar
Date: Mon Aug 11 09:38:40 2008
New Revision: 9319
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9319&view=rev

Log:
2008-08-11  Sankar P  <psankar novell com>

	* camel-db.c:
	Words of warning




Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-db.c

Modified: trunk/camel/camel-db.c
==============================================================================
--- trunk/camel/camel-db.c	(original)
+++ trunk/camel/camel-db.c	Mon Aug 11 09:38:40 2008
@@ -39,6 +39,9 @@
 
 const int MONITOR_DB_PERFORMANCE = 0;
 
+/* Having this as a global variable, without mutex protection is wrong. 
+This will cause unnecessary crashes and multiple people using the resource etc. 
+You are advised to use this timer at your own risk. */
 static GTimer *timer = NULL;
 
 static GStaticRecMutex trans_lock = G_STATIC_REC_MUTEX_INIT;	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]