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

tree-wide: s/sigprocmask/pthread_sigmask()/g #2348

Merged
merged 2 commits into from
May 24, 2018

Conversation

brauner
Copy link
Member

@brauner brauner commented May 24, 2018

The behavior of sigprocmask() is unspecified in multi-threaded programs. Let's
use pthread_sigmask() instead.

Signed-off-by: Christian Brauner christian.brauner@ubuntu.com

@brauner brauner force-pushed the 2018-05-24/pthread_sigmask branch from 9640431 to 2ea6fa9 Compare May 24, 2018 18:54
The behavior of sigprocmask() is unspecified in multi-threaded programs. Let's
use pthread_sigmask() instead.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
@brauner brauner force-pushed the 2018-05-24/pthread_sigmask branch from 2ea6fa9 to 1beb96e Compare May 24, 2018 19:01
sscanf() skips whitespace anyway so don't account for tabs in case the file
layout changes.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
@brauner brauner force-pushed the 2018-05-24/pthread_sigmask branch from 1beb96e to eabf1ea Compare May 24, 2018 20:34
@stgraber stgraber merged commit a055735 into lxc:master May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants