---
name: "std::__shared_mutex_cv"
section: "3cxx"
platform: "linux"
package: "libstdc++-9-doc"
version: "9.3.0-22"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__shared_mutex_cv"
---

# std::\_\_shared\_mutex\_cv(3cxx)

A shared mutex type implemented using std::condition\_variable.

## NAME

std::\_\_shared\_mutex\_cv - A shared mutex type implemented using std::condition\_variable.

## SYNOPSIS

Inherited by **std::shared\_timed\_mutex**` [private]`.

### Public Member Functions

**\_\_shared\_mutex\_cv** (const **\_\_shared\_mutex\_cv** &)=delete\
 void **lock** ()\
 void **lock\_shared** ()\
 **\_\_shared\_mutex\_cv** & **operator=** (const **\_\_shared\_mutex\_cv** &)=delete\
 bool **try\_lock** ()\
 bool **try\_lock\_shared** ()\
 void **unlock** ()\
 void **unlock\_shared** ()\

### Friends

class **shared\_timed\_mutex**\

## Detailed Description

A shared mutex type implemented using std::condition\_variable.

Definition at line 255 of file shared\_mutex.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
