I need to create thread at runtime, destroy and recreate.
I use instruction to create
VDK_ThreadID mythreadID = VDK::CreateThreadEx(VDK_ThreadCreationBlock*);
VDK_DestroyThread(mythreadID,true); to destroy.
If i check on the VDK status window i see that the task is created and then destroyed.
Suppose the mythreadID is 8, if i create the same thread again i see the new value is 0x0004008
then again it becomes 0x0008008 and it keeps growing.
The thread number remain the same, only the thread id increase.
Why? Is that normal?