Skip to content

[execution] Add schedule_result_t alias template.#5846

Merged
bors[bot] merged 2 commits intoTheHPXProject:masterfrom
SAtacker:schedule_result_t
May 26, 2022
Merged

[execution] Add schedule_result_t alias template.#5846
bors[bot] merged 2 commits intoTheHPXProject:masterfrom
SAtacker:schedule_result_t

Conversation

@SAtacker
Copy link
Copy Markdown
Contributor

@SAtacker SAtacker commented Apr 12, 2022

  • Alias schedule_result_t gives the result type of schedule

Signed-off-by: Shreyas Atre shreyasatre16@gmail.com

Any background context you want to provide?

  • Implement P0443/P1897/P2300 #5045 (comment)
  • I have added a new feature and have added tests to go along with it.
  • I have fixed a bug and have added a regression test.
  • I have added a test using random numbers; I have made sure it uses a seed, and that the random numbers generated are valid inputs for the tests.

@jenkins-cscs
Copy link
Copy Markdown

Can one of the admins verify this patch?

@SAtacker SAtacker marked this pull request as ready for review April 12, 2022 18:42
@hkaiser hkaiser added this to the 1.9.0 milestone Apr 13, 2022
@hkaiser
Copy link
Copy Markdown
Contributor

hkaiser commented Apr 13, 2022

add to whitelist

hkaiser
hkaiser previously approved these changes Apr 13, 2022
Copy link
Copy Markdown
Contributor

@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! I would like to wait with merging this until V1.8 has been released (should not take long now).

@gonidelis
Copy link
Copy Markdown
Contributor

Nice!

SAtacker added 2 commits May 25, 2022 20:45
- Alias schedule_result_t gives result type of schedule

Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
- As per http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/
p2300r4.html#spec-execution.schedulers Point number 2
> 2. Let S be the type of a scheduler ...
S is already a scheduler, no need to check

Suggested-by: Agustín Bergé <agustinberge@gmail.com>
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
Copy link
Copy Markdown
Contributor

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

The Windows builder issue was fixed on master, I guess we can ignore it here. LGTM, thanks!

@hkaiser
Copy link
Copy Markdown
Contributor

hkaiser commented May 26, 2022

bors merge

@bors
Copy link
Copy Markdown

bors bot commented May 26, 2022

Build succeeded:

@bors bors bot merged commit 25248a1 into TheHPXProject:master May 26, 2022
@hkaiser hkaiser modified the milestones: 1.9.0, 1.8.1 Jul 5, 2022
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.

4 participants