Re: Threads vs Processes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Threads vs Processes
Дата
Msg-id 16617.1064593629@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Threads vs Processes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Threads vs Processes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> One solution is for me to continue with this in the Win32 CVS version
> until I have fork/exec() working on Unix, then test on Win32.  I think
> that could be done in a few weeks, if not less.

> Another solution, already mentioned, is to use threads and TLS.  This is
> what SRA's code uses.  I know SRA wants to contribute that code back to
> the community, so I can ask them to see if they are ready to release it.

If you are willing to expend the effort, I think it would be worth the
time to pursue both approaches.  We don't yet have enough info to decide
which one will be cleaner, so we need to push forward on both until we
can make a realistic comparison.

            regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump and REVOKE on function
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Threads vs Processes