postgresql/src/backend/bootstrap
Robert Haas e8ac886c24 Support condition variables.
Condition variables provide a flexible way to sleep until a
cooperating process causes an arbitrary condition to become true.  In
simple cases, this can be accomplished with a WaitLatch/ResetLatch
loop; the cooperating process can call SetLatch after performing work
that might cause the condition to be satisfied, and the waiting
process can recheck the condition each time.  However, if the process
performing the work doesn't have an easy way to identify which
processes might be waiting, this doesn't work, because it can't
identify which latches to set.  Condition variables solve that problem
by internally maintaining a list of waiters; a process that may have
caused some waiter's condition to be satisfied must "signal" or
"broadcast" on the condition variable.

Robert Haas and Thomas Munro
2016-11-22 14:27:11 -05:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bootparse.y Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
bootscanner.l Update copyright for 2016 2016-01-02 13:33:40 -05:00
bootstrap.c Support condition variables. 2016-11-22 14:27:11 -05:00
Makefile Refactor flex and bison make rules 2012-10-11 06:57:04 -04:00