Dammit guys, Do any of you know anything he's typing or you're just throwing random shit ?.
And what in hell is that code ?
You have a tm1 thread which is certainly called from your main, Which calls an useless tm2 before doing a fugly do-while, You know... Efficient coding can get rid of many headaches.