Thread extension
Overview
Location
- Reference: elements.jar
- Namespace: RemObjects.Elements.RTL
- Platforms: Cooper
- Mapped to: Thread
constructor
constructor(aEntrypoint: not nullable Action)
Thread extension(Action! aEntrypoint)
init(_ aEntrypoint: Action)
Thread extension(Action aEntrypoint)
Sub New(aEntrypoint As Action)
Parameters:
- aEntrypoint:
Abort
method Abort
void Abort()
func Abort()
void Abort()
Sub Abort()
Async
class method Async(aBlock: Action)
static void Async(Action aBlock)
static func Async(_ aBlock: Action)
static void Async(Action aBlock)
Shared Sub Async(aBlock As Action)
Parameters:
- aBlock:
CallStack
property CallStack: ImmutableList<String> read;
ImmutableList<String> CallStack { get; }
var CallStack: ImmutableList<String> { get{} }
ImmutableList<String> CallStack { __get; }
ReadOnly Property CallStack() As ImmutableList<String>
CurrentCallStack
class property CurrentCallStack: not nullable ImmutableList<String> read;
class ImmutableList<String>! CurrentCallStack { get; }
static var CurrentCallStack: ImmutableList<String> { get{} }
class ImmutableList<String> CurrentCallStack { __get; }
Shared ReadOnly Property CurrentCallStack() As ImmutableList<String>
CurrentThread
class property CurrentThread: Thread read;
class Thread CurrentThread { get; }
static var CurrentThread: Thread { get{} }
class Thread CurrentThread { __get; }
Shared ReadOnly Property CurrentThread() As Thread
IsAlive
property IsAlive: Boolean read;
Boolean IsAlive { get; }
var IsAlive: Boolean { get{} }
Boolean IsAlive { __get; }
ReadOnly Property IsAlive() As Boolean
Join
method Join
void Join()
func Join()
void Join()
Sub Join()
Join (Integer)
method Join(Timeout: Integer)
void Join(Integer Timeout)
func Join(_ Timeout: Integer)
void Join(Integer Timeout)
Sub Join(Timeout As Integer)
Parameters:
- Timeout:
Name
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
Priority
property Priority: ThreadPriority read write;
ThreadPriority Priority { get; set; }
var Priority: ThreadPriority { get{} set{} }
ThreadPriority Priority { __get; __set; }
Property Priority() As ThreadPriority
Sleep
class method Sleep(aTimeout: Integer)
static void Sleep(Integer aTimeout)
static func Sleep(_ aTimeout: Integer)
static void Sleep(Integer aTimeout)
Shared Sub Sleep(aTimeout As Integer)
Parameters:
- aTimeout:
Start
method Start
void Start()
func Start()
void Start()
Sub Start()
ThreadId
CallStack
property CallStack: ImmutableList<String> read;
ImmutableList<String> CallStack { get; }
var CallStack: ImmutableList<String> { get{} }
ImmutableList<String> CallStack { __get; }
ReadOnly Property CallStack() As ImmutableList<String>
IsAlive
property IsAlive: Boolean read;
Boolean IsAlive { get; }
var IsAlive: Boolean { get{} }
Boolean IsAlive { __get; }
ReadOnly Property IsAlive() As Boolean
Name
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
Priority
property Priority: ThreadPriority read write;
ThreadPriority Priority { get; set; }
var Priority: ThreadPriority { get{} set{} }
ThreadPriority Priority { __get; __set; }
Property Priority() As ThreadPriority
ThreadId
property ThreadId: Int64 read;
Int64 ThreadId { get; }
var ThreadId: Int64 { get{} }
Int64 ThreadId { __get; }
ReadOnly Property ThreadId() As Int64
CurrentCallStack
class property CurrentCallStack: not nullable ImmutableList<String> read;
class ImmutableList<String>! CurrentCallStack { get; }
static var CurrentCallStack: ImmutableList<String> { get{} }
class ImmutableList<String> CurrentCallStack { __get; }
Shared ReadOnly Property CurrentCallStack() As ImmutableList<String>
CurrentThread
class property CurrentThread: Thread read;
class Thread CurrentThread { get; }
static var CurrentThread: Thread { get{} }
class Thread CurrentThread { __get; }
Shared ReadOnly Property CurrentThread() As Thread
Async
class method Async(aBlock: Action)
static void Async(Action aBlock)
static func Async(_ aBlock: Action)
static void Async(Action aBlock)
Shared Sub Async(aBlock As Action)
Parameters:
- aBlock:
Sleep
class method Sleep(aTimeout: Integer)
static void Sleep(Integer aTimeout)
static func Sleep(_ aTimeout: Integer)
static void Sleep(Integer aTimeout)
Shared Sub Sleep(aTimeout As Integer)
Parameters:
- aTimeout:
constructor
constructor(aEntrypoint: not nullable Action)
Thread extension(Action! aEntrypoint)
init(_ aEntrypoint: Action)
Thread extension(Action aEntrypoint)
Sub New(aEntrypoint As Action)
Parameters:
- aEntrypoint:
Abort
method Abort
void Abort()
func Abort()
void Abort()
Sub Abort()
Join
method Join
void Join()
func Join()
void Join()
Sub Join()
Join (Integer)
method Join(Timeout: Integer)
void Join(Integer Timeout)
func Join(_ Timeout: Integer)
void Join(Integer Timeout)
Sub Join(Timeout As Integer)
Parameters:
- Timeout:
Start
method Start
void Start()
func Start()
void Start()
Sub Start()