This is bad:
Code: Select all
while(1)
{
//do stuff here
}
Code: Select all
while(1)
{
Thread.Sleep(1);
//do stuff here
}
Archived topic from AOV, old topic ID:1435, old post ID:8985
Code: Select all
while(1)
{
//do stuff here
}
Code: Select all
while(1)
{
Thread.Sleep(1);
//do stuff here
}