Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: difference between thread based and process based operating systems?

Re: difference between thread based and process based operating systems?

From: Ryan <rgaffuri_at_cox.net>
Date: Fri, 09 May 2003 22:37:50 GMT
Message-ID: <25Wua.43841$g41.4001422@news1.east.cox.net>

"Connor McDonald" <connor_mcdonald_at_yahoo.com> wrote in message news:3EBBC9FC.2F1_at_yahoo.com...
> Nuno Souto wrote:
> >
> > "Ryan Gaffuri" <rgaffuri_at_cox.net> wrote in message
news:1efdad5b.0305090427.2b2100a4_at_posting.google.com...
> > > Ive seen some people discuss that oracle particularly Shared Server
> > > operates differently on Unix than on Windows because Unix is 'process
> > > based' and windows is 'thread based'. What is the difference?
> >
> >

http://www-2.cs.cmu.edu/afs/cs/academic/class/15213-f02/lectures/class28.pdf
> > contains a good description of what is thread-based, what is
process-based.
> > And the "whys" and "hows" of one or the other.
> >
> > Some operating systems are traditionally stronger at handling multiple
processes.
> > Others are stronger at handling multiple threads within a process.
> > Oracle simply uses one or the other technology depending on which OS it
is
> > running on and how realtively efficient each is.
> >
> > --
> > Cheers
> > Nuno Souto
> > wizofoz2k_at_yahoo.com.au
>
> I've heard rumours that Oracle 10 will be threaded for unix'es that
> support it....dunno if thats just talk though
>
> cheers
> connor
> --
> =========================
> Connor McDonald
> http://www.oracledba.co.uk
>
> "Some days you're the pigeon, some days you're the statue"

Good article. Thanks. So I take it that a process is self contained. A thread is general 'interleaved' and shares memory correct?

So if you run a thread in the background in Unix or use a pthread is it a seperate process? Same as a daemon? Which I believe is just a thread run with an '&' at the end correct?

I have a question of how shared server works on unix. If its spawning a seperate process, how does it 'share' since processes seem to be self contained. Received on Fri May 09 2003 - 17:37:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US