Re: Restart pg_usleep when interrupted

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: 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-07-11 15:19:22
Message-ID: C18017A1-EDFD-4F2F-BCA1-0572D4CCC92B@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>
> Correct I attached a v2 of this patch that uses instr_time to check the elapsed
> time and break out of the loop. It needs some more benchmarking.

My email client has an issue sending attachments it seems. Reattaching

Attachment Content-Type Size
v2-0001-vaccum_delay-with-absolute-time-nanosleep.patch application/octet-stream 2.3 KB
unknown_filename text/plain 16 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-07-11 15:34:06 Re: Restart pg_usleep when interrupted
Previous Message Sami Imseih 2024-07-11 15:15:41 Re: Restart pg_usleep when interrupted