A convenient wrapper for an OS specific critical section.  
 More...
#include "include/base/cef_lock.h"
A convenient wrapper for an OS specific critical section. 
The only real intelligence in this class is in debug mode for the support for the AssertAcquired() method. 
 
◆ Lock() [1/2]
  
  
      
        
          | base::cef_internal::Lock::Lock  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ Lock() [2/2]
  
  
      
        
          | base::cef_internal::Lock::Lock  | 
          ( | 
          const Lock &  | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
◆ ~Lock()
  
  
      
        
          | base::cef_internal::Lock::~Lock  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ Acquire()
  
  
      
        
          | void base::cef_internal::Lock::Acquire  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ AssertAcquired()
  
  
      
        
          | void base::cef_internal::Lock::AssertAcquired  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=()
  
  
      
        
          | Lock& base::cef_internal::Lock::operator=  | 
          ( | 
          const Lock &  | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
◆ Release()
  
  
      
        
          | void base::cef_internal::Lock::Release  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ Try()
  
  
      
        
          | bool base::cef_internal::Lock::Try  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
If the lock is not held, take it and return true. 
If the lock is already held by another thread, immediately return false. This must not be called by a thread already holding the lock (what happens is undefined and an assertion may fail). 
 
 
The documentation for this class was generated from the following file: