Re: Use nanosleep(2) in pg_usleep, if available? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Use nanosleep(2) in pg_usleep, if available?
Date
Msg-id CA+TgmoZQrn=9wpSa25zn3pXQ+GM+hUoQSf_2-dN8F3G+t5BCJA@mail.gmail.com
Whole thread Raw
In response to Re: Use nanosleep(2) in pg_usleep, if available?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Use nanosleep(2) in pg_usleep, if available?
Re: Use nanosleep(2) in pg_usleep, if available?
List pgsql-hackers
On Tue, Mar 12, 2019 at 1:13 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> (I'm not sure what I think about which behavior is really more
> desirable.  We can debate that if there's actually a plausible
> choice to be made, which seems to depend on Windows.)

Yeah, that's a fair question.  My motivation for asking was that I
sometimes try to insert sleeps when debugging things, and they don't
actually sleep, because they get interrupted.  That's not dispositive,
though.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Timeout parameters
Next
From: Andres Freund
Date:
Subject: Re: Use nanosleep(2) in pg_usleep, if available?