Commit 135ff42
committed
Fix __receiver_proxy_base start_scheduler_t query.
* Return task_scheduler only when possible.
* Return nullopt in other cases.
* Terminate on exception.
Add a regression test:
parallel_scheduler used as the start scheduler in receiver_proxy's start_schedular_t query.1 parent ea089e7 commit 135ff42
2 files changed
Lines changed: 14 additions & 6 deletions
File tree
- include/stdexec/__detail
- test/stdexec/schedulers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
850 | 849 | | |
851 | 850 | | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
857 | 858 | | |
858 | 859 | | |
859 | 860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
0 commit comments