Re: Threads

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Threads
Дата
Msg-id 200301232100.01698.shridhar_daithankar@persistent.co.in
обсуждение исходный текст
Ответ на Re: Threads  (Steve Wampler <swampler@noao.edu>)
Список 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 по дате отправления:

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: Options for growth
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: Options for growth