System.TMonitor.Pulse

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure Pulse(const AObject: TObject); overload; static;

C++

static void __fastcall Pulse(TObject* const AObject)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System TMonitor

Description

Notifies the next thread in the waiting queue that it will be able to lock the specified object as soon as the calling thread releases the object.

The Pulse method notifies the next thread in the waiting queue that it can move to the ready queue. Thus, as soon as the calling thread releases the lock on AObject, the next thread in the ready queue locks AObject.

See Also