GIAC
GSSP-.NET · Question #436
GSSP-.NET Question #436: Real Exam Question with Answer & Explanation
The correct answer is A. Use a WaitCallback delegate to synchronize the threads.. See the full explanation below for the reasoning.
Question
- (Topic 4) You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You have recently finished development of an application using .NET Framework. The application used two threads named threadOne and threadTwo. You are required to modify the code of the application to prevent the execution of threadOne until threadTwo completes execution. What will you do to accomplish this task?
Options
- AUse a WaitCallback delegate to synchronize the threads.
- BConfigure threadTwo to run at a higher priority.
- CConfigure threadOne to run at a lower priority.
- DCall the Sleep method of threadOne.
- ECall the SpinLock method of threadOne
Community Discussion
No community discussion yet for this question.