evolution-data-server r8339 - in branches/gnome-2-20/calendar: . backends/groupwise



Author: sragavan
Date: Mon Jan  7 05:35:29 2008
New Revision: 8339
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8339&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:
   branches/gnome-2-20/calendar/ChangeLog
   branches/gnome-2-20/calendar/backends/groupwise/e-cal-backend-groupwise.c

Modified: branches/gnome-2-20/calendar/ChangeLog
==============================================================================
--- branches/gnome-2-20/calendar/ChangeLog	(original)
+++ branches/gnome-2-20/calendar/ChangeLog	Mon Jan  7 05:35:29 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.
+
 2007-11-28  Milan Crha  <mcrha redhat com>
 
 	** Fix for bug #415817

Modified: branches/gnome-2-20/calendar/backends/groupwise/e-cal-backend-groupwise.c
==============================================================================
--- branches/gnome-2-20/calendar/backends/groupwise/e-cal-backend-groupwise.c	(original)
+++ branches/gnome-2-20/calendar/backends/groupwise/e-cal-backend-groupwise.c	Mon Jan  7 05:35:29 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]