TThread::StaticSynchronize - C++ Builder

C++ Builder 参考手册 ➙ System::Classes ➙ TThread ➙ StaticSynchronize


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

static void __fastcall StaticSynchronize(TThread* const AThread, TThreadMethod AMethod);

StaticSynchronize 是 System::Classes::TThread 的静态成员函数,在主线程里面同步执行一个函数,过时的方法,需要用 Synchronize 代替。

参数:

AThread:线程;
AMethod:要在主线程里面同步执行的函数;

返回值:

无。

  • 过时的方法,需要用 Synchronize 代替。

相关:

  • System::Classes::TThread::Synchronize
  • System::Classes::TThread::Queue
  • System::Classes::TThread::ForceQueue
  • System::Classes::TThread::RemoveQueuedEvents
  • System::Classes::TThread
  • System::Classes::TComponent::BeginInvoke
  • System::Classes::TComponent::EndInvoke
  • System::Classes::TComponent::EndFunctionInvoke
  • System::TObject
  • VCL 类继承关系

C++ Builder 参考手册 ➙ System::Classes ➙ TThread ➙ StaticSynchronize

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