What's the logic behind IsInGameThread() ?

HJRS and , thanks a lot for the ideas, i’m going to try this direction.
Cheers
Cedric