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

If the render function tries to write a message it will deadlock #16

Open
sourcefrog opened this issue Apr 7, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@sourcefrog
Copy link
Owner

sourcefrog commented Apr 7, 2024

The same lock is used while rendering progress and while printing messages, and the lock is not reentrant. As a result, if the render function tries to write a message, perhaps via tracing, it will hang.

This can probably be avoided but it should at least be documented.

Similarly if rendering causes an attempt to update the model then that would also cause a deadlock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant