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

CreateSelfProcess is not thread safe #2

Open
Razzile opened this issue May 21, 2018 · 0 comments
Open

CreateSelfProcess is not thread safe #2

Razzile opened this issue May 21, 2018 · 0 comments

Comments

@Razzile
Copy link
Contributor

Razzile commented May 21, 2018

Title.
If one constructor uses Process::self whilst the other constructor thread is still building the object undefined behaviour will occur.

Possibly use a mutex in CreateSelfProcess

@Razzile Razzile changed the title Creates elf process is not thread safe CreateSelfProcess is not thread safe May 21, 2018
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