RE: Re[4]: Allowing WAL fsync to be done via O_SYNC - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: Re[4]: Allowing WAL fsync to be done via O_SYNC
Date
Msg-id 8F4C99C66D04D4118F580090272A7A234D3324@sectorbase1.sectorbase.com
Whole thread Raw
In response to Re[4]: Allowing WAL fsync to be done via O_SYNC  (Xu Yifeng <jamexu@telekbird.com.cn>)
List pgsql-hackers
> We've speculated about using Posix semaphores instead, on platforms

For spinlocks we should use pthread mutex-es.

> where those are available.  I think Bruce was concerned about the

And nutex-es are more portable than semaphores.

Vadim


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Allowing WAL fsync to be done via O_SYNC
Next
From: Doug McNaught
Date:
Subject: Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open