Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: async patch (no. 4)
Date: Mon, 18 Jun 2007 02:46:00 -0000	[thread overview]
Message-ID: <20070618024611.GA12587@caradoc.them.org> (raw)
In-Reply-To: <18037.40606.95329.378825@kahikatea.snap.net.nz>

On Mon, Jun 18, 2007 at 08:50:38AM +1200, Nick Roberts wrote:
> I don't know how you can claim to uderstand almost none of it after you
> suggested to me to use SIGCHLD to interrupt the call to select instead of using
> threads.  I think some of these comments are based on looking at the previous
> (eponymous) patch (no. 4).

That's the only part of the patch I claim to understand at all.  It's
not that it's unintelligible - it's that I don't understand why any
given line is necessary.  Like, what does async_signal_hook do, and
why is it called from those particular places?  Why does async
behavior change where we need to claim the terminal?  Are the
quit_flag changes still necessary now that we've done some work on
QUIT?  Why don't the infrun changes break thread handling all over the
place?

All of these things are the same questions we'd ask for any patch.

> This is made harder by the fact that some of the event loop is quite obscure
> and I suspect has a level of abstraction that is currently unused.  Perhaps a
> good starting point would be to simplify this first.

Sounds fine to me.  We can always re-add it if we want it.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-06-18  2:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20  7:05 Nick Roberts
2007-01-12 18:31 ` Daniel Jacobowitz
2007-01-12 22:24   ` Nick Roberts
2007-01-12 23:03     ` Daniel Jacobowitz
2007-06-17  9:28       ` Nick Roberts
2007-06-17 15:21         ` Daniel Jacobowitz
2007-06-17 20:50           ` Nick Roberts
2007-06-18  2:46             ` Daniel Jacobowitz [this message]
2007-06-18  5:00               ` Nick Roberts
2007-06-18 11:32                 ` Daniel Jacobowitz
2007-06-18 21:48                   ` Nick Roberts

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=20070618024611.GA12587@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /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