Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2020-05-20 12:18:43


On 2020-05-19 15:55, Niall Douglas via Boost wrote:
>
> Coming back to shared memory mutexes etc, me personally if I want a
> mutex that is shared across processes and is resilient to sudden process
> death, I just lock a shared file in /tmp using flock().

Do you have any performance numbers of flock vs. e.g. futex? I would
expect the former to be considerably slower.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk