This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 00/17] Merge event loop implementations
- From: Tom Tromey <tom at tromey dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 04 Oct 2019 16:25:09 -0600
- Subject: Re: [RFC 00/17] Merge event loop implementations
- References: <20190224165153.5062-1-tom@tromey.com> <3ae5ab8e-c219-6510-bb54-b30c1cf2d074@redhat.com>
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Tom> Another related possible to-do item is changing the ser-event code to
Tom> maintain just a single self-pipe. It seems to me that there's never a
Tom> reason to need more than one.
Pedro> Can you clarify/expand? Are you suggesting to use one single pipe,
Pedro> and then if select/poll wakes up, go through a list of registered
Pedro> ser-events to know which one triggered? Or something else?
It seems to me that any use of a serial event could just be replaced
with run_on_main_thread, from the threading patches, instead.
Tom