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

Added priority-queue lifo scheduler #2483

Merged
merged 2 commits into from Feb 8, 2017
Merged

Added priority-queue lifo scheduler #2483

merged 2 commits into from Feb 8, 2017

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Feb 5, 2017

  • flyby: removed unneeded #includes
  • flyby: removed unneeded type definitions

- flyby: removed unneeded #includes
- flyby: removed unneeded type definitions

// define the default scheduler to use
typedef fifo_priority_queue_scheduler queue_scheduler;

Copy link
Member

Choose a reason for hiding this comment

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

Why are those not needed anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

Those have never been used. I removed them to avoid instantiating the scheduler types in each translation unit which pulls this #include file.

Copy link
Member

Choose a reason for hiding this comment

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

Can't all the other schedulers be removed from there as well then?

Copy link
Member Author

Choose a reason for hiding this comment

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

The others are not typedef'ed, but forward declared only.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, I was just thinking since they aren't used from those forward declarations anyway, just to avoid unneeded code in the headers.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, fair point. I'll try to do that, let's see how it goes.

Copy link
Member

@sithhell sithhell 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

@sithhell sithhell merged commit c096523 into master Feb 8, 2017
@sithhell sithhell deleted the lifo_scheduler branch February 8, 2017 09:06
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