Re: pg_usleep

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_usleep
Дата
Msg-id 1530.24.211.141.25.1072879963.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: pg_usleep  (Claudio Natoli <claudio.natoli@memetrics.com>)
Ответы Re: pg_usleep
Список pgsql-patches
Claudio Natoli said:
>
>
>> patch + new file attached. Haven't tested on Windows, but
>> should be fine.
>
> Would be, except for a small typo (conditional operator has an
> additional : instead of a ?).

Darnit. please fix when applying.

> Also, we might want to change to SleepEx,
> depending on how we eventually get signals implemented, but that's a
> story for another day.
>

Yes. If we use a separate thread to catch signal events then only calls in
that thread would need to use SleepEx, no? Anyway, as you say if necessary
it can be adjusted later.

> This, + the pipe() patch from a couple days ago, means we can just
> about tick off the "Problems with select()" item on the Win32 TODO list
> :-)
>

That was the intention :-)

cheers

andrew





В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: fork/exec patch: pre-CreateProcess finalization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] (Modified) Patch request for PostgreSQL 7.4 for HP-UX