Boost logo

Boost :

Subject: Re: [boost] [thread] shared_spinlock_t idea or faster shared_lock
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-05-02 07:02:39


On 2 May 2014 at 9:37, Antony Polukhin wrote:

> This is just a refining of idea that was once implemented and worked well.
> The idea was to make shared spin lock. Here is some pseudo-code:
> [snip]
>
> Is there an interest in such shared_spinlock_t? Any comments, suggestions?

Two points:

1. I have a TSX capable policy based compile time configurable spin
lock in AFIO which might be useful. It really ought to enter
Boost.Detail. It should work in shared memory.

2. Later today hopefully I'll ask this list for review of a new
Boost.Thread object, the permit. The underlying POSIX permit written
in C works in shared memory (the C++ object not so).

Niall

-- 
Currently unemployed and looking for work in Ireland.
Work Portfolio: http://careers.stackoverflow.com/nialldouglas/



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