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

Asset creation threading issue. #954

Open
maluoi opened this issue Apr 9, 2024 · 0 comments
Open

Asset creation threading issue. #954

maluoi opened this issue Apr 9, 2024 · 0 comments
Milestone

Comments

@maluoi
Copy link
Collaborator

maluoi commented Apr 9, 2024

Description

Asset allocation is currently not thread safe. In practice, I've not seen or heard this being a problem, but in stress tests, it can be consistently reproduced. It's probably one of those annoying things that happens once every 1000 runs.

I believe the core issue is that assets are all added and removed from a single core list when they're created, and this list is not thread safe. Most assets do have thread safety built into their own implementations, but this shared list never accounted for it.

@maluoi maluoi changed the title Asset creating threading issue. Asset creation threading issue. Apr 9, 2024
@maluoi maluoi added this to the v0.4 milestone Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant