Lotus Software-Logo
IBM Lotus Domino Designer 8.5
  Versionen 8.5 und 8.5.1






GetThreadInfo function

Returns system information about the thread.

Syntax

GetThreadInfo (Dim InfoID as Integer)

Elements

InfoID

Information to be returned

Return values

Data

A variant containing the information to be returned.

Usage

Pass any of the LSI_ constants from the table below to GetThreadInfo to have it return the current value of that constant.

Code
Meaning

LSI_THREAD_LINE

Current Line Number

LSI_THREAD_PROC

Name of current procedure

LSI_THREAD_MODULE

Name of current module

LSI_THREAD_VERSION

LotusScript version number

LSI_THREAD_LANGUAGE

(Human) language setting

LSI_THREAD_COUNTRY

Country or region setting

LSI_THREAD_TICKS

Get current clock ticks

LSI_THREAD_TICKS_PER_SEC

Get clock ticks per second (supported only on platforms that support parallel processing primitives)

LSI_THREAD_PROCESS_ID

Get current process ID (supported only on platforms that support parallel processing primitives)

LSI_THREAD_TASK_ID

Get current task ID (supported only on platforms that support parallel processing primitives)

LSI_THREAD_CALLPROC

Get the name of the calling procedure

LSI_THREAD_CALLMODULE

Get the name of the calling module

The values of the constants are defined in LSPRVAL.LSS, which is automatically included through LSCONST.LSS.

Siehe auch
LotusScript Language Reference: E through H
Introduction to multithreading and synchronization in LotusScript
Running asynchronous agents on the Domino server
Synchronization functions
How synchronization works
Advantages of thread-safe agents




Bibliothek | Unterstützung | Nutzungsbedingungen |

Letzte Aktualisierung: Montag, 5. Oktober 2009