GetThreadID()
Posted: Sun Feb 03, 2008 12:45 am
Maybe there is a way to get this ID on another way (or I'm miss an existing command) but I'm searching for a way to get the PB internal ThreadID of a running thread itself like this:
So that both debugs gives the same results.
Code: Select all
Procedure MyThread(Var.l)
Debug GetThreadID()
EndProcedure
Debug CreateThread(@MyThread(),0)