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.
What should you do?

 Posted by aswinialuri-19361 on 9/25/2013 | Category: C# Interview questions | Views: 5186 | Points: 40
Select from following answers:
  1. Configure threadOne to run at a lower priority.
  2. Call the Sleep method of threadOne.
  3. Configure threadTwo to run at a higher priority.
  4. Use a WaitCallback delegate to synchronize the threads.
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response