Sign in Join
FPDoc Onlineexperiment

ResumeThread function

In unit System

Resume a suspended thread.

Declaration

pascal
function ResumeThread(threadHandle: TThreadID): DWord

Description

ResumeThread causes a suspended thread (using SuspendThread) to resume it's execution. The thread is identified with it's handle or ID threadHandle. This function is only usable on windows, it will return an error value on linux.

The function returns a positive number if successful. A DWord(-1) return value indicates failure.

Errors

If a failure occurred, a DWord(-1) result is returned.

See also

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