pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update obsolete comment about pg_usleep() accuracy.
Date: Wed, 15 Mar 2023 04:58:12 +0000
Message-ID: <E1pcJDH-003bvx-Q1@gemulon.postgresql.org> (raw)

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 <nathandbossart@gmail.com>
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(-)



Message-ID: <E1pcJDH-003bvx-Q1@gemulon.postgresql.org>
Permalink:  ../E1pcJDH-003bvx-Q1@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pcJDH-003bvx-Q1@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Update obsolete comment about pg_usleep() accuracy.
  In-Reply-To: <E1pcJDH-003bvx-Q1@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox