Sign in Join
FPDoc Onlineexperiment

TProcess.ThreadHandle property

Member of TProcesspublicIn unit Process

Main process thread handle.

Declaration

pascal
property ThreadHandle: THandle read FThreadHandle;

Description

ThreadHandle is the main process thread handle. On Unix, this is the same as the process ID, on Windows, this may be a different handle than the process handle.

The handle is only valid after Execute has been called. It is not reset after the process stopped.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.