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 difference between workrer thread and UI thread

Answers were Sorted based on User's Feedback



What is the difference between workrer thread and UI thread..

Answer / mano

Worker threads are used to process in back and can not
modify any user interface directly.
Ex: Used to calculate some complicated calculations.

UI threads can change user interface directly
Ex: Used to change UI display images in windows MFC application

Is This Answer Correct ?    16 Yes 1 No

What is the difference between workrer thread and UI thread..

Answer / shakuntala

User-interface threads are commonly used to handle user input and respond to events and messages generated by the user. Worker threads are commonly used to complete tasks, such as recalculation, that do not require user input.
The Win32 API does not distinguish between types of threads; it just needs to know the thread's starting address so it can begin to execute the thread. MFC handles user-interface threads specially by supplying a message pump for events in the user interface. CWinApp is an example of a user-interface thread object, because it derives from CWinThread and handles events and messages generated by the user.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between workrer thread and UI thread..

Answer / muhammad iqbal nayyar

User Interface Thread has its on message pump.
   it can implement Message Map and Message handler...

Worker Thread does not have its own message pump.
  worker Thread just work on given function

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More MFC Interview Questions

What are the types of button controls?

10 Answers  


How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,


In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.?

3 Answers   Financial Technologies,


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


how can u change button shape at run time

3 Answers   Samsung,


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


Difference between Cclint DC & Cpaint Dc

6 Answers   E Logic,


What is a message map, and what is the advantage of a message map over virtual functions?

1 Answers  


Explain Doc/View architecture

6 Answers   Huawei,


What are the special requirements for dialog box resources used in a form view?

2 Answers  


how do u identify RTTI in vc++

4 Answers   Siemens,


what is the size of a process

2 Answers   E Logic, IBM,


Categories