This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 00/23] All-stop on top of non-stop


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]