public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
* [commit] Initialize `do_step' in lwp struct initialization
@ 2010-10-14 18:11 Kevin Buettner
  0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 2010-10-14 18:11 UTC (permalink / raw)
  To: rda

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++;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-14 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14 18:11 [commit] Initialize `do_step' in lwp struct initialization Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).