postgresql/src
Tom Lane 5b9a058384 Tweak LWLock algorithms so that an awakened waiter for a lock is not
granted the lock when awakened; the signal now only means that the lock
is potentially available.  The waiting process must retry its attempt
to get the lock when it gets to run.  This allows the lock releasing
process to re-acquire the lock later in its timeslice.  Since LWLocks
are usually held for short periods, it is possible for a process to
acquire and release the same lock many times in a timeslice.  The old
spinlock-based implementation of these locks allowed for that; but the
original coding of LWLock would force a process swap for each acquisition
if there was any contention.  Although this approach reopens the door to
process starvation (a waiter might repeatedly fail to get the lock),
the odds of that being a big problem seem low, and the performance cost
of the previous approach is considerable.
2002-01-07 16:33:00 +00:00
..
backend Tweak LWLock algorithms so that an awakened waiter for a lock is not 2002-01-07 16:33:00 +00:00
bin Droplang didn't have test for -l, list. This was really broken too. 2002-01-03 08:53:00 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include Do not accept interrupts in RESUME_INTERRUPTS() and END_CRIT_SECTION() 2002-01-01 23:16:22 +00:00
interfaces Fixed parser to accept initializing expressions starting with "(". 2002-01-07 16:25:45 +00:00
makefiles Fix for compiling libpq++ on Solaris with Sun SPRO6U2. 2001-11-11 19:20:53 +00:00
pl Tweak plpgsql's expression reader to be smarter about parentheses and 2001-11-29 22:57:37 +00:00
template 0 -> O 2001-08-08 13:30:20 +00:00
test Instead of waiting a fixed amount of time for the test postmaster to 2002-01-03 21:52:05 +00:00
tools Rename make_keywords.README to make_keywords. 2001-11-26 22:41:58 +00:00
tutorial New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
utils Fix for "--" options. Allow --xxx as a valid flag, from NetBSD fix. 2001-11-26 19:30:58 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
GNUmakefile.in Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile.global.in Add memcmp() test and new memcmp.c file, for SunOS. Tested by Tatsuo. 2001-12-20 21:23:05 +00:00
Makefile.shlib Fix for compiling libpq++ on Solaris with Sun SPRO6U2. 2001-11-11 19:20:53 +00:00
nls-global.mk NLS updates, most notably fixed zh_TW translations 2001-11-29 18:59:28 +00:00
win32.mak Missed this part in pg_config.h rename. 2001-08-24 22:42:28 +00:00