evolution-data-server r8338 - in trunk/calendar: . backends/groupwise



Author: sragavan
Date: Mon Jan  7 05:35:17 2008
New Revision: 8338
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8338&view=rev

Log:
2008-01-07  P Chenthill <pchenthill novell com>

	** Fix for bug #503574

	* backends/groupwise/e-cal-backend-groupwise.c: (get_deltas): Dont spawn 
	many threads. Use locks to avoid them.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/backends/groupwise/e-cal-backend-groupwise.c

Modified: trunk/calendar/ChangeLog
==============================================================================
--- trunk/calendar/ChangeLog	(original)
+++ trunk/calendar/ChangeLog	Mon Jan  7 05:35:17 2008
@@ -1,3 +1,10 @@
+2008-01-07  P Chenthill <pchenthill novell com>
+
+	** Fix for bug #503574
+
+	* backends/groupwise/e-cal-backend-groupwise.c: (get_deltas): Dont spawn 
+	many threads. Use locks to avoid them.
+
 2008-01-04  Ondrej Jirman  <megous megous com>
 
 	** Fix for bug #506457

Modified: trunk/calendar/backends/groupwise/e-cal-backend-groupwise.c
==============================================================================
--- trunk/calendar/backends/groupwise/e-cal-backend-groupwise.c	(original)
+++ trunk/calendar/backends/groupwise/e-cal-backend-groupwise.c	Mon Jan  7 05:35:17 2008
@@ -345,7 +345,8 @@
 
 	attempts = e_cal_backend_cache_get_key_value (cache, key);
 
-	g_static_mutex_lock (&connecting);
+	if (!g_static_mutex_trylock (&connecting))
+			return TRUE;
 
 	serv_time = e_cal_backend_cache_get_server_utc_time (cache);
 	if (serv_time) {



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