Your application uses two threads, named threadOne and threadTwo.You need to modify the code to prevent the execution of threadOne until threadTwo completes execution.<br /> What should you do?()<p> Your application uses two threads, named threadOne and threadTwo.You need to modify the code to prevent the execution of threadOne until threadTwo completes execution.<br /> What should you do?()</p>
A、A.Configure threadOne to run at a lower priority.
B、B.Configure threadTwo to run at a higher priority.
C、C.Use a WaitCallback delegate to synchronize the threads.
D、D.Call the Sleep method of threadOne.
E、E.Call the SpinLock method of threadOne.