This is the mail archive of the rda@sourceware.org mailing list for the rda project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Initialize `do_step' in lwp struct initialization


I've just committed the patch below.

	* lwp-pool.c (hash_find): Initialize `do_step' in the newly allocated
	lwp struct.

Index: lwp-pool.c
===================================================================
RCS file: /cvs/src/src/rda/unix/lwp-pool.c,v
retrieving revision 1.6
diff -u -p -r1.6 lwp-pool.c
--- lwp-pool.c	11 Nov 2005 20:29:57 -0000	1.6
+++ lwp-pool.c	14 Oct 2010 18:07:43 -0000
@@ -489,6 +489,7 @@ hash_find (pid_t lwp)
   l->state = lwp_state_uninitialized;
   l->next = l->prev = NULL;
   l->status = 42;
+  l->do_step = 0;
 
   hash[slot] = l;
   hash_population++;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]