RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Public Member Functions | List of all members
SimpleWeb::ScopeRunner Class Reference

Makes it possible to for instance cancel Asio handlers without stopping asio::io_service. More...

#include <utility.h>

Classes

class  SharedLock
 

Public Member Functions

std::unique_ptr< SharedLockcontinue_lock () noexcept
 Returns nullptr if scope should be exited, or a shared lock otherwise.
 
void stop () noexcept
 Blocks until all shared locks are released, then prevents future shared locks.
 

Detailed Description

Makes it possible to for instance cancel Asio handlers without stopping asio::io_service.


The documentation for this class was generated from the following file: