[PATCH 0/4] Introduce scoped_ignore_signal & make it thread safe

Tom Tromey tom@tromey.com
Tue Jun 15 20:16:30 GMT 2021


>>>>> "Pedro" == Pedro Alves <pedro@palves.net> writes:

Pedro> This series then:

Pedro>   - Moves scoped_ignore_sigttou to gdbsupport/.  This patch is
Pedro>     actually included in my Ctrl-C series too, I just borrowed it from
Pedro>     there.

Pedro>   - Introduces a scoped_ignore_signal template, to be used by both
Pedro>     scoped_ignore_sigpipe and scoped_ignore_sigttou.

Pedro>   - Makes scoped_ignore_signal thread-safe, by using sigprocmask +
Pedro>     sigtimedwait.

Pedro>   - Adds a scoped_ignore_sigpipe unit test.

I read through these and it all looks reasonable to me.
Thanks for doing this.

Tom


More information about the Gdb-patches mailing list