Re: thread_test.c problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: wespvp(at)syntegra(dot)com
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-23 23:59:41
Message-ID: 200404232359.i3NNxf714209@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


I have just commited to CVS code that will do all the compile/library
flags and thread tests automatically. Let me know how it works for
you. Thanks.

---------------------------------------------------------------------------

wespvp(at)syntegra(dot)com wrote:
> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2004-04-24 05:50:51 Re: [OT] Tom's/Marc's spam filters?
Previous Message Jim Seymour 2004-04-23 23:39:12 Re: Question about inserts

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-24 00:09:21 Re: Threading for 7.5
Previous Message Robert Treat 2004-04-23 23:55:16 Re: [pgsql-advocacy] What can we learn from MySQL?