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

Cologne SG1: is std::process thread safe #45

Open
JeffGarland opened this issue Oct 6, 2019 · 0 comments
Open

Cologne SG1: is std::process thread safe #45

JeffGarland opened this issue Oct 6, 2019 · 0 comments

Comments

@JeffGarland
Copy link
Owner

We should note it as an open question, whether std::process should be thread safe.

The question started with the a discussion of if multiple threads could call 'wait' and the fact that it might update the object means synchronization. Also suggested that wait could be implemented as wait_for(0) to improve this (Chris K suggested).

After more discussion of posix and other apis seemed that the general conclusion is that it doesn't need to be thread safe.

Not adding to anything to the paper just yet.

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

No branches or pull requests

1 participant