Re: thread_test.c problems

From: <wespvp(at)syntegra(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-general <pgsql-general(at)postgresql(dot)org>, joseph speigle <joe(dot)speigle(at)jklh(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: thread_test.c problems
Date: 2004-04-07 03:50:24
Message-ID: BC98E4B0.C2FA%wespvp@syntegra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 4/5/04 8:31 AM, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)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?

Wes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jerry LeVan 2004-04-07 03:52:53 Re: [MACTCL] Tcl load command and mac os x
Previous Message wespvp 2004-04-07 03:16:28 Re: Crash in postgres/linux on verly large database

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-07 04:05:09 Re: Function to kill backend
Previous Message Thomas Swan 2004-04-07 01:44:58 Re: Function to kill backend