#include <asiocontext.hpp>
 | 
| std::mutex  | mutex | 
|   | 
| std::vector< std::unique_ptr< openvpn_io::io_context > >  | contexts | 
|   | 
Definition at line 22 of file asiocontext.hpp.
 
◆ new_context()
  
  
      
        
          | openvpn_io::io_context & openvpn::AsioContextStore::new_context  | 
          ( | 
          int  | 
          concurrency_hint | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ stop()
  
  
      
        
          | void openvpn::AsioContextStore::stop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
This is to be used only as a last resort. The proper way to end an io_context-driven thread is to simply stop scheduling work on the reactor and exit gracefully. DO NOT USE THIS IF THERE'S AN ALTERNATIVE! 
Definition at line 40 of file asiocontext.hpp.
 
 
◆ contexts
  
  
      
        
          | std::vector<std::unique_ptr<openvpn_io::io_context> > openvpn::AsioContextStore::contexts | 
         
       
   | 
  
private   | 
  
 
 
◆ mutex
  
  
      
        
          | std::mutex openvpn::AsioContextStore::mutex | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: