Home All Groups Group Topic Archive Search About

Interview Questions Feb 01 2006

Author
2 Feb 2006 3:58 AM
Jobs
What's difference between thread and process?
A thread is a path of execution that run on CPU, a process is a
collection of threads that share the same virtual memory. A

process has at least one thread of execution, and a thread always run
in a process


Full Interview Questions for .NET and SQL Server
http://www.geocities.com/dotnetinterviews/
Help the community to make job search easier mail your questions to
jobatyourdoors***@yahoo.co.in
Looking for a onsite job mail your resumes at
jobatyourdoors***@yahoo.co.in

Author
2 Feb 2006 6:45 AM
Cor Ligthert [MVP]
Jobs,

>
> process has at least one thread of execution, and a thread always run
> in a process
>

Who did invented this crazy issolated text.

For me is a process a particular course of action intended to achieve a
result.
A thread is a main or subprocess inside this process, which does not exist
withouth that parent process.

Cor
Author
2 Feb 2006 9:08 AM
CMM
Actually, in this context, threads and processes are actual hardware
constructs of the x86 CPU (not of Windows, nor some other OS) and not
general "ideas" as you describe them... and that "crazy issolated text" is
totally correct.

But, I guess applying existententialism to computers is always fun! ;-)
Author
2 Feb 2006 11:30 AM
Herfried K. Wagner [MVP]
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb:
>> process has at least one thread of execution, and a thread always run
>> in a process
>
> Who did invented this crazy issolated text.

Mhm...  The original post is simply an ad, so I suggest to ignore it in
future.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
2 Feb 2006 11:36 AM
Cor Ligthert [MVP]
Herfried,

> Mhm...  The original post is simply an ad, so I suggest to ignore it in
> future.
>
I knew, but I could not resist.

Cor
Author
2 Feb 2006 11:36 AM
Larry Lard
[some ngs trimmed]

Jobs wrote:
> What's difference between thread and process?

You can't attach replacement buttons to your shirt with a process.

--
Larry Lard
Replies to group please
Author
2 Feb 2006 1:22 PM
Peter Proost
LOL :-) and if I was the job interviewer you would definitely get the job,
because this a nice example of thinking outside the box ;-) :-)

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)


Show quoteHide quote
"Larry Lard" <larryl***@hotmail.com> schreef in bericht
news:1138880177.214131.107290@z14g2000cwz.googlegroups.com...
> [some ngs trimmed]
>
> Jobs wrote:
> > What's difference between thread and process?
>
> You can't attach replacement buttons to your shirt with a process.
>
> --
> Larry Lard
> Replies to group please
>