---
name: "ACE_MT_SYNCH"
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_MT_SYNCH"
---

# ACE\_MT\_SYNCH(3)

Implement a default thread safe synchronization wrapper that typedefs the ACE\_Condition and ACE\_Mutex to the ACE\_Condition and ACE\_Mutex versions. Note that this should be a template, but SunC++ 4.0.1 complains about this...

## NAME

ACE\_MT\_SYNCH -  Implement a default thread safe synchronization wrapper that typedefs the ACE\_Condition and ACE\_Mutex to the ACE\_Condition and ACE\_Mutex versions.  Note that this should be a template, but SunC++ 4.0.1 complains about this...

## SYNOPSIS

```
#include <ace/Synch_T.h>
class ACE_MT_SYNCH
{
  public:
    typedef ACE_Thread_Mutex MUTEX;
    typedef ACE_Null_Mutex NULL_MUTEX;
    typedef ACE_Process_Mutex PROCESS_MUTEX;
    typedef ACE_Recursive_Thread_Mutex RECURSIVE_MUTEX;
    typedef ACE_RW_Thread_Mutex RW_MUTEX;
    typedef ACE_Condition_Thread_Mutex CONDITION;
    typedef ACE_Thread_Semaphore SEMAPHORE;
    typedef ACE_Null_Semaphore NULL_SEMAPHORE;
};
```

## PUBLIC MEMBERS

```
typedef ACE_Thread_Mutex MUTEX;
```

```
typedef ACE_Null_Mutex NULL_MUTEX;
```

```
typedef ACE_Process_Mutex PROCESS_MUTEX;
```

```
typedef ACE_Recursive_Thread_Mutex RECURSIVE_MUTEX;
```

```
typedef ACE_RW_Thread_Mutex RW_MUTEX;
```

```
typedef ACE_Condition_Thread_Mutex CONDITION;
```

```
typedef ACE_Thread_Semaphore SEMAPHORE;
```

```
typedef ACE_Null_Semaphore NULL_SEMAPHORE;
```

## AUTHOR

Doug Schmidt

## LIBRARY

ace
