Re: [GENERAL] thread_test.c problems

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] thread_test.c problems
Дата
Msg-id 200404070412.i374CFM24351@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: [GENERAL] thread_test.c problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
wespvp@syntegra.com wrote:
> On 4/5/04 8:31 AM, "Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
>
> >>> OK, new patch applied that causes all threads to wait until the parent
> >>> checks their thread-specific pointers. I ran 1000 tests and all passed.
> >>> Hopefully it will good for you too.
> >>
> >> I'll try to give it a test tonight.
> >
> > Please grab CVS.  I added sched_yield() too.
>
> Ok, I did a cvs update and reran the test.  It now consistently returns
> 'YES' to all three questions.  Thanks.
>
> What needs to be done to get the standard Darwin template file updated to
> enable threading?

Oh, that is a problem because other linux's show 'no' for the last two.

My plan is to have 'configure' run this program as part of its
operation, and Jan has some thread configure scripts, and this will all
be automated in 7.5 so no one will have to run the program manually.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Function to kill backend
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] thread_test.c problems