Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the use of Mutex and critical section

Answers were Sorted based on User's Feedback



what is the use of Mutex and critical section..

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

what is the use of Mutex and critical section..

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

Post New Answer

More MFC Interview Questions

how many types of classes are ther,what are that

7 Answers   L&T,


How we can findout Memoryleaks, In what way it can be avoided

6 Answers   Infosys,


What is a critical section and how is it implemented?

2 Answers  


What is CArchive class dowes?

4 Answers  


If there is more than 100 control in a window how we can change the Taborder of a controls

4 Answers   Satyam,


how can u change button shape at run time

3 Answers   Samsung,


1)dynamic creation of a Button ?

2 Answers   TCS,


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


Which MFC function is used to display output?

9 Answers   TCS,


How can i implement the dynamic menus in MFC plz give the code

2 Answers  


Can you explaing the relashionship between document,frame and view ?

2 Answers  


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


Categories