What is thread & process?

Answers were Sorted based on User's Feedback



What is thread & process?..

Answer / bizuneh

thread is a lightweight while process is heavyweight

Is This Answer Correct ?    1 Yes 0 No

What is thread & process?..

Answer / moahmed ali

process is execution of program
thread is light weight process
process consists of multiple threads

Is This Answer Correct ?    1 Yes 0 No

What is thread & process?..

Answer / md moinuddin

Each process provides the resources needed to execute a
program. A process has a virtual address space, executable
code, open handles to system objects, a security context, a
unique process identifier, environment variables, a
priority class, minimum and maximum working set sizes, and
at least one thread of execution. Each process is started
with a single thread, often called the primary thread, but
can create additional threads from any of its threads.

A thread is the entity within a process that can be
scheduled for execution. All threads of a process share its
virtual address space and system resources. In addition,
each thread maintains exception handlers, a scheduling
priority, thread local storage, a unique thread identifier,
and a set of structures the system will use to save the
thread context until it is scheduled. The thread context
includes the thread's set of machine registers, the kernel
stack, a thread environment block, and a user stack in the
address space of the thread's process. Threads can also
have their own security context, which can be used for
impersonating clients.

Is This Answer Correct ?    0 Yes 0 No

What is thread & process?..

Answer / chokri

a thread is a process but process isn't a thread

Is This Answer Correct ?    4 Yes 6 No

What is thread & process?..

Answer / c.vidhya

Thread will perform multiple task(process) at a
time.process is single phase.

Is This Answer Correct ?    14 Yes 35 No

Post New Answer

More MFC Interview Questions

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

4 Answers   Satyam,


Explain about MDI and CMultiDocTemplate ?

2 Answers  


How can i change the color of a dropdowncombobox elements

2 Answers  


If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


What is the base class for MFC

3 Answers   HCL,






How we call a dialog in another dialog?

2 Answers  


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  


What is stack size in win32 program?

1 Answers   HCL,


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


What function is called by a document class to notify views that the document has been changed?

2 Answers  


How to update all the views whenver document got updated ?

1 Answers  


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

1 Answers  


Categories