what is the use of Mutex and critical section
Answers were Sorted based on User's Feedback
Answer / krishna akkulu
Using a mutex is more expensive in terms of CPU
utilization, but mutexes may be shared outside the
processes boundaries.
A critical section object provides synchronization similar
to that provided by a mutex object, except that a critical
section can be used only by the threads of a single
process.
Event, mutex, and semaphore objects can also be used in a
single-process application, but critical section objects
provide a slightly faster, more efficient mechanism for
mutual-exclusion
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / xxxx
Supports synchronization by which we can provide controlled
access to the shared resource. At a time, only one process
can access the shared resource by using mutex n critical
section.
| Is This Answer Correct ? | 4 Yes | 3 No |
In VC++ How to transfer between one exe to another exe while running..
Types of DLL's
What function is called by a document class to notify views that the document has been changed?
what is message Testing ?
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
If application hangs while SendMessage is waiting for the result, how you handle it?
What is the base class for MFC Framework ?
I want recent paper pattern for HP company?
Which CPrintInfo member variable must be set for multiple page printouts?
Explain in sort What is CTargetObject?
1)how to Display the File Dialog Box, in MFC ?
Does the application have more than one object? If Yes, Briefly explain.