Interview Questions Feb 01 2006

J

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
(e-mail address removed)
Looking for a onsite job mail your resumes at
(e-mail address removed)
 
C

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
 
C

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! ;-)
 
H

Herfried K. Wagner [MVP]

Cor Ligthert said:
Who did invented this crazy issolated text.

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

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)


Larry Lard said:
[some ngs trimmed]
What's difference between thread and process?

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top