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

SYNCHRONIZE will fall into an infinite loop #45

Closed
wants to merge 2 commits into from
Closed

SYNCHRONIZE will fall into an infinite loop #45

wants to merge 2 commits into from

Conversation

LinJianping
Copy link

firstly, SYNCHRONIZE will fall into an infinite loop without self.itemq.task_done(); secondly, lambda expression in for loop causes functions in queue point to the same fuction because of python late binding.

SYNCHRONIZE will fall into an infinite loop
lambda expression in for loop causes all the funcs in queue are the same
@ilopriz
Copy link

ilopriz commented Mar 31, 2020

Any news on this merge?
It would be very helpful for me.

@david-caro david-caro removed their assignment Mar 31, 2020
@david-caro
Copy link
Member

Looks reasonable to me, but I'm not working on this project, and will not have time to test it in my spare time.

@ilopriz
Copy link

ilopriz commented Mar 31, 2020

@lucasfcardozo are you intended to approve this merge request?

@lucasfcardozo
Copy link
Contributor

A similar PR #61

@LinJianping LinJianping closed this by deleting the head repository Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants