Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 34be19c

Browse files
Sebastien Poncesponce
Sebastien Ponce
authored andcommitted
Drop call to request_stop on slide of jthread
1 parent 19b5ef1 commit 34be19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎talk/concurrency/threadsasync.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
void bar() {...}
6565
int main() {
6666
std::jthread t1{foo};
67-
std::jthread t2{bar}; t2.request_stop();
67+
std::jthread t2{bar};
6868
// No join required
6969
return 0;
7070
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /