| View previous topic :: View next topic |
| Author |
Message |
AwayTheWInd Master Cheater
Reputation: 0
Joined: 11 Sep 2007 Posts: 450
|
Posted: Wed Jan 28, 2009 9:45 am Post subject: [C++ DLL] Any way i can keep a while/for loop without... |
|
|
Any way i can keep a while/for loop up without freezing/lagging the thread?
If I don't use a sleep, it'll crash, and if I use a sleep, it'll lag...
Help?
_________________
|
|
| Back to top |
|
 |
dEagle Expert Cheater
Reputation: 0
Joined: 17 Jun 2006 Posts: 225 Location: CheatEngine Forum
|
Posted: Wed Jan 28, 2009 9:49 am Post subject: |
|
|
Try using Sleep(20); that shouldent hurt,
else create a new thread for just only that function.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Wed Jan 28, 2009 2:16 pm Post subject: |
|
|
Just Sleep(10);
If you really need less, set it with timeBeginPeriod / timeEndPeriod
|
|
| Back to top |
|
 |
talkerzero Grandmaster Cheater
Reputation: 1
Joined: 24 Jul 2008 Posts: 560 Location: California
|
Posted: Sun Feb 08, 2009 11:23 pm Post subject: |
|
|
Irwin! When the fuck did you come back here again?
And, just use Sleep(1).
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Feb 08, 2009 11:33 pm Post subject: |
|
|
| talker0 wrote: | Irwin! When the fuck did you come back here again?
And, just use Sleep(1). |
Sleep(1) won't do anything if you don't set it with timeBegin/EndPeriod
|
|
| Back to top |
|
 |
|