Im using ISXVG.ConnectionState as abort condition in my threads. If thread A is using some ISXVGAPi members and thread B is calling ISXVG.ConnectionState, the result of ConnectionState is "NPC".
So if this is
my ConnectionState-Check, the first call(in the if statement) to ConnectionState gives back "NPC" the second one "IN_GAME".
So if this is
Code:
Data.FrameHandler.Framelock();
if ( ext.ISXVG().ConnectionState != "IN_GAME")
{
Tools.Log(ext.ISXVG().ConnectionState);
inThread = false;
}
Data.FrameHandler.FrameUnlock();