std::thread::~thread

~thread();
(C++11 起)

销毁 thread 对象。

*this 拥有关联线程( joinable() == true ),则调用 std::terminate()

注意

在下列操作后 thread 对象无关联的线程(从而可安全销毁)

版本历史

  • (当前 | 先前 2017年8月25日 (五) 06:31Fruderica讨论 | 贡献. . (450字节) (-254). . (撤销)
  • 当前 | 先前 2012年11月2日 (五) 18:14P12bot讨论 | 贡献 . . (704字节) (+265). . (r2.7.3) (机器人添加:de, en, es, fr, it, ja, pt, ru) (撤销)
  • 当前 | 先前 2012年10月26日 (五) 03:32P12讨论 | 贡献 . . (439字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前) 2012年10月25日 (四) 12:00TranslationBot讨论 | 贡献. . (439字节) (+439). . (Translated from the English version using Google Translate)