Re: [RFC 00/17] Merge event loop implementations

Tom Tromey
2019-10-04T22:25:20Z

>>>>> "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