Sign in Join
FPDoc Onlineexperiment

SuspendThread function

In unit System

Suspend a running thread.

Declaration

pascal
function SuspendThread(threadHandle: TThreadID): DWord

Description

SuspendThread suspends a running thread. The thread is identified with it's handle or ID threadHandle.

The function returns zero if successful. A nonzero return value indicates failure.

Errors

If a failure occurred, a nonzero result is returned. The meaning is system dependent.

See also

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