Re: WAL fsync scheduling

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Larry Rosenman <ler(at)lerctr(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WAL fsync scheduling
Date: 2000-11-18 18:07:00
Message-ID: 200011181807.NAA27025@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-11-18 18:08:30 Re: WAL fsync scheduling
Previous Message Bruce Momjian 2000-11-18 17:43:40 Re: WAL fsync scheduling