Show: Delphi C++
Display Preferences

Thread Management Routines

From RAD Studio
Jump to: navigation, search

Go Up to API Categories Index

This topic lists all thread management routines and variables.

Routine Description

System.BeginThread

Spawns a separate thread of execution.

System.Classes.CheckSynchronize

Allows background threads to synchronize their execution with the main thread.

System.EndThread

Terminates the execution of a thread.

Vcl.Forms.ForegroundTask

Indicates whether the current thread is running in the foreground.

System.IsMultiThread

Indicates whether the application spawned additional threads using System.BeginThread or System.Classes.TThread objects.

System.MainThreadID

Indicates the instance handle for the current module's main thread of execution.

System.NeverSleepOnMMThreadContention

Dictates memory manager behavior during a thread contention.

System.Classes.WakeMainThread

Represents a method (event handler) that is forced into the main thread's queue.

System.MonitorEnter

Prohibits the access of all other threads but the calling one to a specific object.

System.MonitorExit

Releases a lock of the calling thread on a specific object.

System.MonitorPulse

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 it.

System.MonitorPulseAll

Signals all threads in the waiting queue that each one of them will be able to lock the specified object as soon as the calling thread releases it.

System.MonitorTryEnter

Attempts to lock the specified object, so that only the calling thread is able to access it.

System.MonitorWait

Drops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time.



See Also

Personal tools
In other languages
Previous Versions
Assistance