Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
32
Concurrency support library
[thread]
32.3
Stop tokens
[thread.stoptoken]
32.3.5
Class
stop_
source
[stopsource]
32.3.5.2
Constructors, copy, and assignment
[stopsource.cons]
🔗
stop_source
(
)
;
1
#
Effects
: Initializes
stop-state
with a pointer to a new stop state
.
2
#
Postconditions
:
stop_
possible
(
)
is
true
and
stop_
requested
(
)
is
false
.
3
#
Throws
:
bad_
alloc
if memory cannot be allocated for the stop state
.