[No it's not] Is it a bug ? (ThreadID() in windows)
Posted: Thu Apr 30, 2020 10:19 pm
Hi,
in an other thread something strange occured:
Results in:

There is nothing to see of 364
Is it a bug, or what exactly returns ThreadID()
PB 5.72 x86 Win10 x64
in an other thread something strange occured:
Code: Select all
Procedure test(dummy.i)
Debug "CurrentProcessId: " + GetCurrentProcessId_()
Debug "CurrentThreadId : " + GetCurrentThreadId_()
;Debug "CurrentThread : " + GetCurrentThread_()
Delay(20000)
EndProcedure
Define Thread.i = CreateThread(@test(), 0)
Debug "Outside Thread: " + ThreadParameter\Thread
Debug "Outside ThreadID: " + ThreadID(ThreadParameter\Thread)
Delay(25000)

There is nothing to see of 364

Is it a bug, or what exactly returns ThreadID()

PB 5.72 x86 Win10 x64