5 May
2014
5 May
'14
3:03 a.m.
2014-05-05 9:29 GMT+08:00 Niall Douglas
On 4 May 2014 at 23:25, Peter Dimov wrote:
A non-consuming permit looks quite like a Win32 event object yes, except it has stronger guarantees useful for many-waiter many-signaller situations.
asio::windows::object_handle permit(io_service, CreateEvent(0,1,00)); permit.wait(); permit.async_wait( []{ do some thing here} ) ;