[RFC v2 08/20] sysdeps/wait: Use waitid if avaliable

Andreas Schwab schwab@suse.de
Tue Jun 25 08:16:00 GMT 2019


On Jun 24 2019, Alistair Francis <alistair.francis@wdc.com> wrote:

> +  if (options | WNOHANG) {
> +    waitid_options |= WNOHANG;
> +  }
> +  if (options | WUNTRACED) {
> +    waitid_options |= WSTOPPED;
> +  }
> +  if (options | WCONTINUED) {
> +    waitid_options |= WCONTINUED;
> +  }

Surely that's not going to work out.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list