[PATCHES] pg_usleep

2003-12-30 Thread Andrew Dunstan
Tom Lane wrote: Andrew Dunstan [EMAIL PROTECTED] writes: I wrote: There are a couple of other places where [select()] is used for small sleeps (storage/lmgr/s_lock.c and access/transam/xact.c) - What is the preferred way to handle these 2 cases? We could handle them with

[PATCHES] Solaris thread patch

2003-12-30 Thread Bruce Momjian
I have confirmed that Solaris needs the -mt link flag when building threaded apps using non-gcc compilers, so I am adding it to the template file for Solaris. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your

Re: [PATCHES] pg_usleep

2003-12-30 Thread Claudio Natoli
patch + new file attached. Haven't tested on Windows, but should be fine. Would be, except for a small typo (conditional operator has an additional : instead of a ?). Also, we might want to change to SleepEx, depending on how we eventually get signals implemented, but that's a story for

Re: [PATCHES] fork/exec patch: pre-CreateProcess finalization

2003-12-30 Thread Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --- Claudio Natoli wrote: [patch edited +