---
name: "ACE_Null_Mutex_Guard"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Null_Mutex_Guard"
---

# ACE\_Null\_Mutex\_Guard(3)

This data structure is meant to be used within a method or function... It performs automatic aquisition and release of an ACE\_Null\_Mutex.

## NAME

ACE\_Null\_Mutex\_Guard -  This data structure is meant to be used within a method or function...  It performs automatic aquisition and release of an ACE\_Null\_Mutex.

## SYNOPSIS

```
#include <ace/Synch.h>
class ACE_Null_Mutex_Guard
{
  public:
    ACE_Null_Mutex_Guard (ACE_Null_Mutex &);
    ~ACE_Null_Mutex_Guard (void);
    int remove (void);
    int locked (void);
    int acquire (void);
    int tryacquire (void);
    int release (void);
    void dump (void) const;
  private:
    void operator= (const ACE_Null_Mutex_Guard &);
    ACE_Null_Mutex_Guard (const ACE_Null_Mutex_Guard &);
};
```

## DESCRIPTION

Wrappers for various synchronization routines.

## Prevent assignment and initialization.

```
void operator= (const ACE_Null_Mutex_Guard &);
```

```
ACE_Null_Mutex_Guard (const ACE_Null_Mutex_Guard &);
```

## AUTHOR

Doug Schmidt

## LIBRARY

ace
