Re: Threads - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Re: Threads
Date
Msg-id 200301232100.01698.shridhar_daithankar@persistent.co.in
Whole thread Raw
In response to Re: Threads  (Steve Wampler <swampler@noao.edu>)
List pgsql-hackers
On Thursday 23 January 2003 08:42 pm, you wrote:
> On Sat, 4 Jan 2003, Christopher Kings-Lynne wrote:
> > Also remember that in even well developed OS's like FreeBSD, all a
> > process's threads will execute only on one CPU.
>
> I doubt that - it certainly isn't the case on Linux and Solaris.
> A thread may *start* execution on the same CPU as it's parent, but
> native threads are not likely to be constrained to a specific CPU
> with an SMP OS.

I am told that linuxthreads port available on freeBSD uses rfork and is 
capable of using multiple CPUs within a single process.

Native freeBSD threads can not do that. Need to check that with freeBSD5.0.
Shridhar




pgsql-hackers by date:

Previous
From: Curt Sampson
Date:
Subject: Re: Options for growth
Next
From: Curt Sampson
Date:
Subject: Re: Options for growth