PrepAway - Latest Free Exam Questions & Answers

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

PrepAway - Latest Free Exam Questions & Answers

A.
Thread.Sleep(30000)

B.
Thread.SpinWait(30000)

C.
Thread.QueueUserWorkItem(30000)

D.
Thread.SpinWait(30)

One Comment on “You need to write more code to class to run DoWork() with 30-second intervals


Leave a Reply