Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant