Thread.Kill

From Xojo Documentation

Revision as of 19:33, 4 March 2010 by SteffX (talk) (SMBot: new page by automated transformation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

Thread.Kill()

New in 2005R5

Supported for all project types and targets.

Kills the current thread.

Internally, this method will cause your thread's stack to unwind, destructors for local objects to be called, and so forth. It's a graceful exit which can cause code to execute. It may also cause context switches.