Skip to content

Improve threading and convert to PIMPL#49

Merged
gentlegiantJGC merged 7 commits into3.0from
impr-locking
Nov 10, 2025
Merged

Improve threading and convert to PIMPL#49
gentlegiantJGC merged 7 commits into3.0from
impr-locking

Conversation

@gentlegiantJGC
Copy link
Member

Add locks to fix race conditions.
Improve GIL handling.
Convert classes to exported PIMPL classes.

create_iterator could be called from multiple threads at the same time or while the database is being closed.
This should protect against those cases.
pybind11 now has the correct type hint
@gentlegiantJGC gentlegiantJGC merged commit 266a8ad into 3.0 Nov 10, 2025
8 checks passed
@gentlegiantJGC gentlegiantJGC deleted the impr-locking branch November 10, 2025 15:12
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