27 lines
744 B
Markdown
27 lines
744 B
Markdown
[stopsource.inplace.cons]
|
|
|
|
# 32 Concurrency support library [[thread]](./#thread)
|
|
|
|
## 32.3 Stop tokens [[thread.stoptoken]](thread.stoptoken#stopsource.inplace.cons)
|
|
|
|
### 32.3.9 Class inplace_stop_source [[stopsource.inplace]](stopsource.inplace#cons)
|
|
|
|
#### 32.3.9.2 Constructors [stopsource.inplace.cons]
|
|
|
|
[ð](#itemdecl:1)
|
|
|
|
`constexpr inplace_stop_source() noexcept;
|
|
`
|
|
|
|
[1](#1)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/threads.tex#L1273)
|
|
|
|
*Effects*: Initializes a new stop state inside *this[.](#1.sentence-1)
|
|
|
|
[2](#2)
|
|
|
|
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/threads.tex#L1277)
|
|
|
|
*Postconditions*: stop_requested() is false[.](#2.sentence-1)
|