Skip to content
This repository was 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
wds8237 wants to merge 2 commits intobinux:masterfrom
wds8237:bugfix/projects_iterate
Open

fix bug: scheduler's projects size change in subthread while main thread iterate #842
wds8237 wants to merge 2 commits intobinux:masterfrom
wds8237:bugfix/projects_iterate

Conversation

@wds8237
Copy link
Copy Markdown

@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