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

# \_\_gnu\_profile::\_\_reentrance\_guard(3cxx)

Reentrance guard.

## NAME

\_\_gnu\_profile::\_\_reentrance\_guard - Reentrance guard.

## SYNOPSIS

### Static Public Member Functions

static bool **\_\_get\_in** ()\
 static bool & **\_\_inside** ()\

## Detailed Description

Reentrance guard.

Mechanism to protect all \_\_gnu\_profile operations against recursion, multithreaded and exception reentrance.

Definition at line 58 of file profiler.h.

## Author

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