TThread::DoTerminate - C++ Builder

C++ Builder 参考手册 ➙ TThread ➙ DoTerminate


头文件:#include
命名空间:System::Classes
类:TThread
访问权限:protected:
函数原型:

virtual void __fastcall DoTerminate(void);

System::Classes::TThread::DoTerminate 是 System::Classes::TThread 的成员函数,是线程类内部调用的函数,触发 OnTerminate 事件。

参数:

无。

返回值:

无。

  • 线程类内部调用的方法,触发 OnTerminate 事件;
  • 这个方法通过调用 Synchronize 方法来实现的,让 OnTerminate 事件同步在主线程来执行。

参考:

  • System::Classes::TThread::Synchronize
  • System::Classes::TThread::Terminate
  • System::Classes::TThread::Terminated
  • System::Classes::TThread::TerminatedSet
  • System::Classes::TThread::OnTerminate
  • System::Classes::TThread::CheckTerminated
  • System::Classes::TThread::FreeOnTerminate
  • System::Classes::TThread::SetFreeOnTerminate
  • System::Classes::TThread::FatalException
  • System::Classes::TThread
  • System::TObject
  • VCL 类继承关系

C++ Builder 参考手册 ➙ TThread ➙ DoTerminate

你可能感兴趣的:(TThread::DoTerminate - C++ Builder)