public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: rda@sources.redhat.com
Subject: [commit] Initialize `do_step' in lwp struct initialization
Date: Thu, 14 Oct 2010 18:11:00 -0000	[thread overview]
Message-ID: <20101014111104.7a249b72@mesquite.lan> (raw)

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

                 reply	other threads:[~2010-10-14 18:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101014111104.7a249b72@mesquite.lan \
    --to=kevinb@redhat.com \
    --cc=rda@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).