Answer Posted / n.venkateshwara rao.
Thread is an individual entity of execution from the main
programs(i.e main thread).Thread is created by the main
thread or a child thread can also give a birth to an
another thread.
Even though threads are created from its ancestors each and
every individual thread will be having its own code unit to
execute independently(i.e Both the code seems to be
executed at same time. But this is not possible if there is
only one processor in the PC. Ofcourse the valuable time of
processor is sliced and given to the threads in the round
robin fashion provided all the threads are having same
thread priority and that is the reason for the intuition of
threads are running is same point of time.).
On other hand "Process" is an output/elevation of the
execution of the program. Process can have any number
of "threads". But thread belongs to only one process.
| Is This Answer Correct ? | 30 Yes | 8 No |
Post New Answer View All Answers
I want recent paper pattern for HP company?
How do I create a dialog box in mfc?
List out the basic features of MFC.
What does mfc stand for?
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?
Do you have an idea about MFC?
how to repaint when working with horizontal scroll bar
plzz tell me what we can do and dont in tally ERP & sap business one?
What is mfc class hierarchy?
what is functioning of DIalodDataXchange ..?
what message is sent to an application when the user presses the primary button?
What is the difference between Struts and JSF? Pls list some most suitable differences.
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?