Mobile App Development Software
Alpha TransForm
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • API
  • Objects
  • System
  • Thread
  • current Method
Parent | Child | Previous | Next
  • ClearClientSecurityContext Method
  • ClearCurrentWebPageApplicationRootPath Method
  • ClientSecurityContextIsValid Method
  • create Method
  • current Method
  • DisableXBasicExceptionDumpFiles Method
  • EnableXBasicExceptionDumpFiles Method
  • enum Method
  • event Method
  • exist Method
  • get Method
  • get_priority Method
  • GetClientSecurityContext Method
  • GetCPUUsageInMilliseconds Method
  • GetCurrentWebPageApplicationRootPath Method
  • interrupt Method
  • IsCooperative Method
  • last_step_time Method
  • LogThreadTransitions Method
  • name Method
  • persist_session Method
  • Profiler_Begin Method
  • Profiler_Dump Method
  • Profiler_End Method
  • Profiler_Format Method
  • Profiler_Pause Method
  • Profiler_Reset Method
  • Profiler_Resume Method
  • RecordEvent Method
  • RequestTermination Method
  • set_priority Method
  • SetClientSecurityContext Method
  • SetCurrentWebPageApplicationRootPath Method
  • TraceThreadTransitions Method
  • ui_disabled Method
  • variables Method
  • wait Method
  • XBasic_Trace_Begin Method
  • XBasic_Trace_End Method
  • XBasic_Trace_Pause Method
  • XBasic_Trace_Resume Method
 
Xbasic

thread.current Method

Syntax

dim result as P = thread.Thread()

Returns

resultPointer

Returns a pointer to the current thread.

Description

The currently running thread.

Discussion

The thread.current() method returns a pointer to the current thread.

Example

dim tPtr as P
tPtr = thread.current()

? tPtr.Name() = "Main"

Limitations

Desktop applications only.

See Also

  • Thread Functions
  • Thread Methods
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy