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

Thrift IDL file parse reports error in multi-threaded situation #232

Open
1C4nfaN opened this issue Jan 29, 2024 · 0 comments
Open

Thrift IDL file parse reports error in multi-threaded situation #232

1C4nfaN opened this issue Jan 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@1C4nfaN
Copy link
Contributor

1C4nfaN commented Jan 29, 2024

When my idl definition is more complex, I import idl files in multiple threads at the same time, and some exceptions will be thrown during the parser process.

Looking at the code, I found that the parser process does not seem to be thread-safe. If I want the code to work properly, I Add thread locks to my thread environment. I think a documentation tip may be needed here.

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

No branches or pull requests

2 participants