This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 00/23] All-stop on top of non-stop
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Mon, 13 Apr 2015 17:16:41 +0100
- Subject: Re: [PATCH v2 00/23] All-stop on top of non-stop
- Authentication-results: sourceware.org; auth=none
- References: <1428410990-28560-1-git-send-email-palves at redhat dot com> <86lhi0v1el dot fsf at gmail dot com> <55278B2B dot 1070809 at redhat dot com> <868ue0uyfa dot fsf at gmail dot com> <552BE0A3 dot 5040001 at redhat dot com>
Pedro Alves <palves@redhat.com> writes:
Pedro,
I can't apply this patch cleanly, so unable to test it for
aarch64-linux. I'll give a test once your V3 is posted, in which this
patch is included, I assume.
> + /* If we have events pending, go through handle_inferior_event
> + again, picking up a pending event at random. This avoids
> + thread starvation. */
> + pending = iterate_over_threads (resumed_thread_with_pending_status,
> + NULL);
A quick question, I don't see how pending events are picked up at
random. Do you mean target_ops->to_wait, such as linux_nat_wait, can
get event at random?
--
Yao (éå)