Name

TThreadFunc Type

Syntax

type
  TThreadFunc = function(Parameter: Pointer): Integer;

Description

The BeginThread function takes a thread function as one of its arguments. The function’s signature must match the TThreadFunc type. BeginThread passes its Param argument to the thread function. The thread function’s return value becomes the thread’s exit code.

Example

See BeginThread for an example.

See Also

BeginThread Function, EndThread Procedure, IsMultiThread Variable, ThreadVar Keyword
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset