Re: pg_usleep for multisecond delays

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: nathandbossart(at)gmail(dot)com
Cc: andres(at)anarazel(dot)de, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_usleep for multisecond delays
Date: 2023-02-10 03:00:17
Message-ID: 20230210.120017.1621286891297785514.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Thu, 9 Feb 2023 14:51:14 -0800, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote in
> On Thu, Feb 09, 2023 at 01:30:27PM -0800, Andres Freund wrote:
> > So I'm not sure it's the right direction to make pg_usleep() easier to use...
> Hm... We might be able to use WaitLatch() for some of these.

And I think we are actully going to reduce or eliminate the use of
pg_sleep().

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-02-10 03:04:02 Re: pg_usleep for multisecond delays
Previous Message David Rowley 2023-02-10 02:51:07 Re: Speed up transaction completion faster after many relations are accessed in a transaction