You need to write more code to class to run DoWork() with 30-second intervals
Given the code like this:
while(!loop)
{
//Thread code here
Dowork();
}
You need to write more code to class to run DoWork() with 30-second intervals using minimum resources