GIAC
GSSP-NET · Question #270
You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You create a Windows service application using the .NET Framework. You are…
The correct answer is A. Use the Mutex class. See the full explanation below for the reasoning.
Question
You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You create a Windows service application using the .NET Framework. You are required to synchronize execution of some resources across multiple processes. What will you do to accomplish this task?
Options
- AUse the Mutex class.
- BUse the Monitor class.
- CUse the ThreadPool class.
- DUse the Interlocked class.
How the community answered
(43 responses)- A77% (33)
- B14% (6)
- C7% (3)
- D2% (1)
Community Discussion
No community discussion yet for this question.