Skip to content

Conversation

technillogue
Copy link
Contributor

@technillogue technillogue commented Jul 12, 2024

we're currently holding the lock the whole time an iterator is running; it needs to be held separately for each send. instead of doing a bunch of indents, just factor out the locked send into a separate class

although the lock isn't actually shared between processes and the more lightweight threading.Lock could be used, that means it has to be created in run() rather than __init__

@technillogue technillogue requested a review from a team July 12, 2024 22:31
we're currently holding the lock the whole time an iterator is running; it needs to be held separately for each send. instead of doing a bunch of indents, just factor out the locked send into a separate class

although the lock isn't actually shared between processes and the more lightweight threading.Lock can be used, that means it has to be created in run() rather than __init__
@technillogue technillogue force-pushed the syl/fix-events-lock branch from 341bc68 to 5161afa Compare July 12, 2024 22:35
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.

3 participants