Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Grant Edwards <grante@visi.com>
Cc: <gdb@sources.redhat.com>, <gdb-patches@sources.redhat.com>
Subject: Re: RDI code busy-waiting on running target?
Date: Thu, 11 Jul 2002 17:28:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0207111652060.26547-100000@makita.cygnus.com> (raw)
In-Reply-To: <20020711184343.A4472@visi.com>

On Thu, 11 Jul 2002, Grant Edwards wrote:

> Here's a patch that fixes it.  I only added the usleep() when
> there's no ui_loop_hook to call.  Is that the right thing to
> do, or will Insight et al still suck CPU time?  I'm not sure
> who's supposed to be surrendering the CPU, the UI or the
> target.

Insight would definitely shoot to 100% CPU, too. This often a problem with
have gdb non-event based w.r.t. the target. I would recommend doing the
sleep for the ui_loop_hook, too.

Keith



  reply	other threads:[~2002-07-11 23:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020711175854.A29971@visi.com>
2002-07-11 16:53 ` Grant Edwards
2002-07-11 17:28   ` Keith Seitz [this message]
2002-07-11 17:44     ` Grant Edwards
2002-07-12  8:24   ` Grant Edwards
2002-07-12 11:04     ` Grant Edwards
2002-07-14 10:04       ` Andrew Cagney
2002-07-14 10:10         ` Momchil Velikov
2002-07-14 11:28           ` Andrew Cagney
2002-07-15  0:28             ` Grant Edwards
2002-07-15  9:42               ` Andrew Cagney
2002-07-15 10:59                 ` Grant Edwards
2002-07-11 19:08 Dan Kegel

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=Pine.GSO.4.33.0207111652060.26547-100000@makita.cygnus.com \
    --to=keiths@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=grante@visi.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