public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Nurdin Premji <npremji@redhat.com>
To: Mark Wielaard <mark@klomp.org>, cagney@redhat.com, frysk@sourceware.org
Subject: Re: frysk-core/frysk/proc LinuxTask.java TestProcS ...
Date: Wed, 11 Oct 2006 21:39:00 -0000	[thread overview]
Message-ID: <1160602879.2886.4.camel@tow.toronto.redhat.com> (raw)
In-Reply-To: <1160601989.3025.25.camel@dijkstra.wildebeest.org>

> > Nurden, I would greatly expand the comment though, make it more blunt, 
> > and prefix with XXX so we know its bad; and reference the frysk bug 
> > number; and post it here :-)

/*
 * XXX: Linux kernel has a 'feature' that if a process is already
 * stopped and ptrace requests that it be stopped (again) in order to
 * attach to it, the signal (SIGCHLD) notifying frysk of the attach's
 * pending waitpid event isn't generated.
 */

/*
 * XXX: This line sends another signal to frysk notifying about the
 * attach's pending waitpid regardless of whether the task is running or
 * stopped. This avoids hangs on attaching to a stopped process. Bug
 * 3316.
 */

Here is my understanding of what the problem is and what I've done.
(Okay so the technical parts have been stolen from cagney's explanation)

  reply	other threads:[~2006-10-11 21:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20061011195727.26918.qmail@sourceware.org>
2006-10-11 20:13 ` Mark Wielaard
2006-10-11 20:57   ` Andrew Cagney
2006-10-11 21:26     ` Mark Wielaard
2006-10-11 21:39       ` Nurdin Premji [this message]
2006-10-11 22:33       ` Andrew Cagney
2006-10-12  9:17         ` Mark Wielaard

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=1160602879.2886.4.camel@tow.toronto.redhat.com \
    --to=npremji@redhat.com \
    --cc=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=mark@klomp.org \
    /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).