File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' utf-8' standalone =' no' ?>
2+ <!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+ <issue num =" 4332" status =" New" >
5+ <title ><code >affine_on</code > shouldn't forward the stop token to the scheduling operation</title >
6+ <section ><sref ref =" [exec.affine.on]" /></section >
7+ <submitter >Dietmar Kühl</submitter >
8+ <date >31 Aug 2025</date >
9+ <priority >99</priority >
10+
11+ <discussion >
12+ <p >
13+ The main purpose of <code >affine_on</code > is to make sure work
14+ resumes on a specific execution context. The scheduling operation
15+ may take some time and work may be cancelled in the meantime. If
16+ this cancellation causes the scheduling to be cancelled work cleaning
17+ up after the cancellation would be executed on the wrong execution
18+ context. Thus, the stop token from the receiver's environment should
19+ only be forwarded when <code >connect</code >ing the sender but not
20+ to the scheduling operation.
21+ </p >
22+ </discussion >
23+
24+ <resolution >
25+ <p >
26+ </p >
27+ </resolution >
28+
29+ </issue >
You can’t perform that action at this time.
0 commit comments