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 |
What is serialization ?which function is responsible for serializing data ?
WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE
4 Answers Google, Microsoft, TCS,
What is a message map?
what is the component of CLR ?
How can i implement the dynamic menus in MFC plz give the code
What is the difference between workrer thread and UI thread
Tell me about different kinds of synchranization objects ?
what is the use of AFX_MANAGE_STATE ?
How do you change the properties for a tree view control that is part of the CTreeView class?
What is the range of intensity of RGB
Which MFC function is used to display output?
What is mfc class hierarchy?