pgsql: Update obsolete comment about pg_usleep() accuracy. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Update obsolete comment about pg_usleep() accuracy.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Update obsolete comment about pg_usleep() accuracy.

There are still some systems that use traditional tick-based sleep
timing, but many including Linux, FreeBSD and macOS started using high
resolution timer hardware more directly a decade or two ago.  Update our
comment about that.  Also highlight that Windows is like the older
Unixen in that respect.

Author: Nathan Bossart <[email protected]>
Discussion: https://postgr.es/m/CA%2BhUKG%2BogAon8_V223Ldv6taPR2uKH3X_UJ_A7LJAf3-VRARPA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e4da2a44c17a36904d4d083f9a96e90041d28f76

Modified Files
--------------
src/port/pgsleep.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Add the testcases for 89e46da5e5.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: doc: Add lists of modules trusted/obsolete