pgsql: Refactor DetermineSleepTime() to use milliseconds. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Refactor DetermineSleepTime() to use milliseconds.
Date
Msg-id E1pFoVu-003E31-AH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Refactor DetermineSleepTime() to use milliseconds.

Since we're not using select() anymore, we don't need to bother with
struct timeval.  We can work directly in milliseconds, which the latch
API wants.

Discussion: https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5a26c7b310b629f8893483cc3cce5bbfa7879115

Modified Files
--------------
src/backend/postmaster/postmaster.c | 57 ++++++++++++-------------------------
1 file changed, 18 insertions(+), 39 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: fix silly thinko in 8bf6ec3ba.
Next
From: Tom Lane
Date:
Subject: pgsql: Revert "Get rid of the "new" and "old" entries in a view's range