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

[Cluster-devel] cluster/rgmanager ChangeLog src/daemons/nodeev ...



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	lhh sourceware org	2006-06-21 18:34:39

Modified files:
	rgmanager      : ChangeLog 
	rgmanager/src/daemons: nodeevent.c 

Log message:
	Fix #194491

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/ChangeLog.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.5.2.13.6.2&r2=1.5.2.13.6.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/nodeevent.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.2.2.1&r2=1.2.2.2

--- cluster/rgmanager/ChangeLog	2006/06/16 20:11:51	1.5.2.13.6.2
+++ cluster/rgmanager/ChangeLog	2006/06/21 18:34:39	1.5.2.13.6.3
@@ -1,3 +1,7 @@
+2006-06-21 Lon Hohberger <lhh at redhat.com>
+	* src/daemons/nodeevent.c: Don't use the rg thread refcount in
+	node event handling (#194491)
+
 2006-06-16 Lon Hohberger <lhh at redhat.com>
 	* src/daemons/fo_domain.c, groups.c: Get rid of compiler warnings
 	* src/daemons/rg_state.c: Change clu_lock_verbose to use the NULL
--- cluster/rgmanager/src/daemons/nodeevent.c	2006/06/16 20:07:46	1.2.2.1
+++ cluster/rgmanager/src/daemons/nodeevent.c	2006/06/21 18:34:39	1.2.2.2
@@ -60,7 +60,6 @@
 
 	/* Mutex held */
 	ne_thread = 0;
-	rg_dec_threads();
 	pthread_mutex_unlock(&ne_queue_mutex);
 	return NULL;
 }
@@ -96,8 +95,6 @@
 
 		pthread_create(&ne_thread, &attrs, node_event_thread, NULL);
         	pthread_attr_destroy(&attrs);
-
-		rg_inc_threads();
 	}
 	pthread_mutex_unlock (&ne_queue_mutex);
 }


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