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

Is this library thread safe? #356

Closed
MarioSieg opened this issue May 1, 2022 · 2 comments
Closed

Is this library thread safe? #356

MarioSieg opened this issue May 1, 2022 · 2 comments
Labels

Comments

@MarioSieg
Copy link

Is it safe to load gltf models from a different thread
when each thread has it's own tinygltf::TinyGLTF instance or are there internally
global variables which are not synced?

Also what would you think about a JSON backend using SIMDJson? Might speed up the load time significantly...

Best Regards,

Mario

@syoyo syoyo added the question label May 1, 2022
@syoyo
Copy link
Owner

syoyo commented May 1, 2022

It may depend on JSON backend: #241

You can contribute SIMDJson backend! PR is much appreciated.

@MarioSieg
Copy link
Author

Okay thanks!
I will benchmark my loading performance and if there is need for faster parse I'll write a branch with SIMDJson!

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

No branches or pull requests

2 participants