Skip to content

Conversation

@LukasMicroscopy
Copy link

… lead to double file creation and corrupted files. The lock solves this.
When ndtiff-dataset was used in a threaded way (A python thread writes images with put_image whenever one is available in a queue). Occasionally, the ndtiff file where corrupted or two new ndtiff file writer where created at once. The lock prevents the execution of the put_image function twice, before the last one finished. This happens even with global interpreter lock, since the execution of the function is not serialized

… lead to double file creation and corrupted files. The lock solves this.
@henrypinkard henrypinkard enabled auto-merge March 27, 2025 16:08
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

Successfully merging this pull request may close these issues.

1 participant