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

Data race #15

Open
edanko opened this issue Jan 14, 2022 · 2 comments
Open

Data race #15

edanko opened this issue Jan 14, 2022 · 2 comments

Comments

@edanko
Copy link

edanko commented Jan 14, 2022

Hi, yofu!

Found data race in concurrent drawing processing.
I think it's relates to handle increments, but had no luck trying to resolve this.

See gist for code and run log
gist

@nikpivkin
Copy link
Contributor

Hi @edanko!

This gist doesn't seem to exist anymore.

@edanko
Copy link
Author

edanko commented Jul 26, 2024

Forget the gist. It's kinda resolved.

Races related to many global objects, such as this one. So, if you want to do some concurrent processing, you must get rid of all these variables.

You can use this commit as inspiration.

Have a nice day!

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

2 participants