System::TThreadFunc defines a new thread of execution.
TThreadFunc = function (Parameter: Pointer): Integer;
(Parameter: Pointer): Integer (* TThreadFunc)(Pointer Parameter);
Use BeginThread or a TThread object to spawn separate threads of execution. BeginThread spawns a new thread of execution via the System::TThreadFunc defined function.
Parameter is a pointer to any data you want to pass to the new thread.
When the thread completes, it returns a status code.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|