C++ Builder 參考手冊 ? System::Classes ? TThread ? StaticSynchronize
頭文件:#include <System.Classes.hpp>
命名空間:System::Classes
類:TThread
訪問權限:public:
函數(shù)原型:
static void __fastcall StaticSynchronize(TThread* const AThread, TThreadMethod AMethod);
StaticSynchronize 是 System::Classes::TThread 的靜態(tài)成員函數(shù),在主線程里面同步執(zhí)行一個函數(shù),過時的方法怨愤,需要用 Synchronize 代替。
參數(shù):
AThread:線程由驹;
AMethod:要在主線程里面同步執(zhí)行的函數(shù);
返回值:
無试和。
- 過時的方法挟阻,需要用 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