Xojo.Threading.Thread

From Xojo Documentation

Revision as of 18:42, 29 August 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

Used to run code in the background. Xojo threads are co-operative (not pre-emptive).

Events
Run
Properties
Priority StackSize State fa-lock-32.png
Methods
Resume Sleep
Run Suspend
Enumerations
ThreadStates
Shared Methods
CurrentThread

Constants

These constants can be used to set the Priority of the thread:

PriorityHigh 10 Recommended for high priority threads.

PriorityLow 1 Recommended for low priority threads.

PriorityNormal 5 Default priority for threads.

See Also

Xojo.Threading.CriticalSection, Xojo.Threading.Semaphore classes