Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't wait indefinitely to gather stack traces #6685

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

keithc-ca
Copy link
Contributor

barrier_block_until_poked() may signal failure with a value other than -1. In particular, if the controlling thread decides time has run out, it closes the pipe which may cause poll() to signal POLLNVAL in revents for waiting threads, leading them to see barrier_block_until_poked() return -2.

Also general cleanup; use OMR_ARE_ANY_BITS_SET(), OMR_ARE_NO_BITS_SET().

barrier_block_until_poked() may signal failure with a value other
than -1. In particular, if the controlling thread decides time
has run out, it closes the pipe which may cause poll() to signal
POLLNVAL in revents for waiting threads, leading them to see
barrier_block_until_poked() return -2.

Also general cleanup; use OMR_ARE_ANY_BITS_SET, OMR_ARE_NO_BITS_SET.

Signed-off-by: Keith W. Campbell <[email protected]>
@babsingh
Copy link
Contributor

babsingh commented Sep 6, 2022

jenkins build all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants