Re: WAL fsync scheduling
| От | Bruce Momjian |
|---|---|
| Тема | Re: WAL fsync scheduling |
| Дата | |
| Msg-id | 200011181807.NAA27025@candle.pha.pa.us обсуждение |
| Ответ на | Re: WAL fsync scheduling (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: WAL fsync scheduling
|
| Список | pgsql-hackers |
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> how about sigpause, and using SIGUSR1/SIGUSR2 to wake them up ?
>
> > Looks like a winner.
>
> sigpause() is a BSD-ism, and not part of any recognized standard
> according to my HP man pages. How portable do you think it is?
Good point. I get on BSDI:
The sigpause function call appeared in 4.2BSD and has been deprecated.
The standard is sigsuspend:
The sigsuspend function call conforms to IEEE Std1003.1-1988 (``POSIX'').
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026
В списке pgsql-hackers по дате отправления: