添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Filesystem library (C++17) Regular expressions library (C++11) Concurrency support library (C++11) Technical specifications Symbols index External libraries
[edit]
Concurrency support library
Threads
(C++11)
(C++20)
(C++20)
this_thread namespace
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
Generic lock management
(C++11)
(C++11)
(C++11)
(C++11) (C++11) (C++11)
(C++11)
call_once
(C++11)
Condition variables
(C++11)
Semaphores
Latches and Barriers
(C++20)
(C++20)
Futures
(C++11)
(C++11)
(C++11)
(C++11)
Safe Reclamation
(C++26)
(C++26)
Hazard Pointers
(C++26)
Initialization of atomic types
(C++11) (deprecated in C++20)
(C++11) (deprecated in C++20)
Memory ordering
Free functions for atomic operations
(C++20)
Free functions for atomic flags
void reset ( ) ;
(since C++11)

Resets the state abandoning the results of previous executions. New shared state is constructed.

Equivalent to * this = packaged_task ( std :: move ( f ) ) , where f is the stored task.

Contents

  • 1 Parameters
  • 2 Return value
  • 3 Exceptions
  • 4 Example
  • [ edit ] Parameters

    (none)

    [ edit ] Return value

    (none)

    [ edit ] Exceptions

    • In other languages
  • Deutsch
  • Español
  • Français
  • Italiano
  • 日本語
  • Português
  • Русский
  • 中文
  •