std::shared_mutex:: ~shared_mutex
      From cppreference.com
     
     
     
     
      
       <
       
        cpp
       
        |
       
        thread
       
        |
       
        shared mutex
       
      
     
     
     
     
        
         C++
        
        
         
          
           
          
          
         
        
       
       
        
         Concurrency support library
        
        
         
          
           
            
          
          
          
         
        
       
       | 
 | 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
        
         
          std::shared_mutex
         
        
        
         
          
           
            
          
          
          
         
        
       
       | Member functions | ||||
| 
                
                 
                  
                   shared_mutex::~shared_mutex
                  
                 
                
                | ||||
| Exclusive locking | ||||
| Shared locking | ||||
| Native handle | ||||
| 
           
            ~shared_mutex
            
             (
            
            
             )
            
            
             ;
            
           
           | ||
Destroys the mutex.
The behavior is undefined if the mutex is owned by any thread or if any thread terminates while holding any ownership of the mutex.
See also
| 
          
           
            C documentation
           
          
          for
          
           
            mtx_destroy
           
          
          | 
      Retrieved from "
      
       https://en.cppreference.com/mwiki/index.php?title=cpp/thread/shared_mutex/%7Eshared_mutex&oldid=129849
      
      "