English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what's the difference between "Process" and "Thread"?

2006-11-19 19:25:03 · 3 answers · asked by Spring 1 in Computers & Internet Programming & Design

3 answers

a process is the actual .exe file when its being run (executed) by the system,a thread is a string of commands running within the process. multiple threads can be be "active" in a single process.

2006-11-19 19:36:53 · answer #1 · answered by Ghjjf 4 · 0 1

A process is usually defined to consist of "memory" and something that "executes" within that memory. Each process has it's own memory that it "does it's stuff" within.

Threads are also a set of instructions, but unlike processes several threads can coexist within the same memory. When this happens, if one thread modifies a variable, all threads within that process "see" the new value of the variable.

Several different processes can be running the same "program"(executable) , but since they each have their own memory, when they modify a variable it does not affect other processes that are running that program.

2006-11-20 08:36:40 · answer #2 · answered by clueless_nerd 5 · 1 0

great question madhavi:) you be attentive to nonetheless those words sound synonimous yet nevertheless there lies a "deep" difference !! Happiness might nicely be got here upon of issues which won't additionally be constructive to our non secular or psychological factor like we would circulate out & have our sought after dish & clothing and so on., we would experience happy. yet delight comes from a style of achievent, if we get stable grades in study we would get a good feeling that asserts "problematical word paid off" now thats extra constructive isn't it ;p[ Now peace.... i think of it relies upon on what ideas-set we undertake towads the "events" we do for "happiness" or the two "delight", peace certainly exist in our self, it only should be got here upon by utilising us. a individual of lack of information could experience peace at the same time as a problematical worker must be strresed. it extremely is even oposite to that . So peace needs to got here upon by utilising us.

2016-11-25 20:51:36 · answer #3 · answered by ? 4 · 0 0

fedest.com, questions and answers