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

Removing wrong call to cleanup_terminated_locked #2952

Closed
wants to merge 2 commits into from

Conversation

sithhell
Copy link
Member

The code removed was accidently added and shouldn't have been there in the
first place

The code removed was accidently added and shouldn't have been there in the
first place
@sithhell sithhell added this to the 1.1.0 milestone Oct 16, 2017
Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

else if ((scheduler.get_scheduler_mode() & policies::fast_idle_mode) ||
idle_loop_count > params.max_idle_loop_count_ || may_exit)
else if (((scheduler.get_scheduler_mode() & policies::fast_idle_mode) ||
(idle_loop_count > params.max_idle_loop_count_)) || may_exit)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The outer pair of parenthesis is superfluous.

thread_init_data background_init(
[&, background_running](thread_state_ex_enum) -> thread_result_type
[&idle_loop_count, bg_callback, background_running](thread_state_ex_enum) -> thread_result_type
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long.

This fixes the hangs we recently encountered
@sithhell
Copy link
Member Author

Superseded by #2962.

@sithhell sithhell closed this Oct 17, 2017
@sithhell sithhell deleted the fix_thread_map branch October 17, 2017 08:54
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.

None yet

2 participants