GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 105 Topic 11 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 105 Topic 11 Discussion

GSSP-.NET Exam Topic 11 Question 105 Discussion:
Question #: 105
Topic #: 11

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 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.