G
Guest
All,
I am using a while loop like so
bool bProcess = true;
while (bProcess)
{
//Do some processing
//update to Database
if (tablelocked)
{
wait 10 seconds try again;
break;
}
else
{
commit;
bProcess = false;
}
}
How do i set a timer for 10 seconds before resuming the while loop.
AAny help is appreciated
Jawahar
I am using a while loop like so
bool bProcess = true;
while (bProcess)
{
//Do some processing
//update to Database
if (tablelocked)
{
wait 10 seconds try again;
break;
}
else
{
commit;
bProcess = false;
}
}
How do i set a timer for 10 seconds before resuming the while loop.
AAny help is appreciated
Jawahar