Boost logo

Boost :

Subject: Re: [boost] [thread] Request review of new synchronisation object, boost::permit<>
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-05-04 14:15:07


On 4 May 2014 at 19:51, Peter Dimov wrote:

> > Review and commentary upon a proposed new Boost object, boost::permit<>
> > is invited.
>
> Aren't permits just Windows events?

A non-consuming permit looks quite like a Win32 event object yes,
except it has stronger guarantees useful for many-waiter
many-signaller situations. A permit is completely user space though,
and portable.

A consuming permit looks totally different to Win32 event objects. I
am not sure what else it resembles actually, perhaps a reusable
future/promise.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



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