../pvss.htm menu.gif basics.gif

getThreadId()

Returns the identification number of the current thread.

Synopsis

int getThreadId();

Parameters

Parameters

Description

none

-

Return value

The function returns the number of the thread.

Errors

Description

Returns the identification number of the current thread.

 

IconExample

main()
{
...

DebugN(getThreadId());

...
}

Relates to

Threads

Availability

UI, CTRL, DP

See also

      startThread(), stopThread(), waitThread()

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved