Re: Restart pg_usleep when interrupted

From: "Imseih (AWS), Sami" <samimseih(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Restart pg_usleep when interrupted
Date: 2024-08-12 20:51:35
Message-ID: e3297b5e-0b33-4f45-afcd-4b00ba0b3547@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> As cfbot points out [0], this is missing a Windows/frontend implementation.
>
> [0] https://cirrus-ci.com/task/6393555868975104

Looks like the pgsleep implementation is missing the
#ifndef WIN32

I followed what is done in pg_usleep.

v11 should now build on Windows, hopefully.

Strangely, v10 build on a Windows machine I have locally.

Regards,

Sami

Attachment Content-Type Size
v11-0001-vaccum_delay-with-absolute-time-nanosleep.patch text/plain 4.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-08-12 21:04:28 Re: Restart pg_usleep when interrupted
Previous Message Thomas Munro 2024-08-12 20:15:39 Re: Remove support for old realpath() API