mdelfede Messages: 1308 Registered: September 2007
Ultimate Contributor
Partial reply to myself... I used Start instead of Run, and the thread was detached from variable.
But now, I'm using Thread::GetCurrentId() which should return the Id of calling thread, but returns instead a very big number which has probably nothing to do with it.
How can I check if I'm inside a required thread ? (same as IsMainThread, but something like myThread.Inside())