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

fix bug: scheduler's projects size change in subthread while main thread iterate #842

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wds8237
Copy link

@wds8237 wds8237 commented Nov 28, 2018

ThreadBaseScheduler's _update_project function update projects attribute in seperate thread.
if Python quit child thread to run main thread til <for project in itervalues(projects)> in _check_select function,it will raise runtime exception.
I'm not familiar with python,please check it!

when I run scheduler in Ubuntu16.04,python 2.7.14 ,the python process will crashed with Segment Fault or GC fault ,I don't know if related to this PR.

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.

None yet

1 participant