Bruce Momjian <pgman@candle.pha.pa.us> writes: > wespvp@syntegra.com wrote: > > On 4/4/04 11:43 PM, "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. Make sure to test this on linux 2.6. They changed sched_yield() to not cause context switches in a lot of cases where it did previously. You might need a usleep() there instead or in addition. -- greg ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly