New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 41 Topic 5 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 41 Topic 5 Discussion

GSSP-NET-CSHARP Exam Topic 5 Question 41 Discussion:
Question #: 41
Topic #: 5

You work as a Software Developer for ABC Inc. You have created a console application that uses two threads, named thread1 and thread2. You need to modify the code to prevent the execution of thread1 until thread2 completes its execution. Which of the following steps will you take to accomplish this task?


A.

Call the SpinWait() method of thread1.


B.

Use a WaitCallBack delegate to synchronize the threads.


C.

Call the sleep() method of thread1.


D.

Configure thread1 to run at a lower priority.


E.

Configure thread2 to run at a higher priority.


Get Premium GSSP-NET-CSHARP Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.