---
name: "ACE_Event"
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_Event"
---

# ACE\_Event(3)

A wrapper around the Win32 event locking mechanism.

## NAME

ACE\_Event -  A wrapper around the Win32 event locking mechanism.

## SYNOPSIS

```
#include <ace/Synch.h>
class ACE_Event
{
  public:
    ACE_Event (
        int manual_reset = 0,
        int initial_state = 0,
        int type = USYNC_THREAD,
        LPCTSTR name = 0,
        void *arg = 0
        );
    ~ACE_Event (void);
    int remove (void);
    ACE_event_t handle (void) const;
    void handle (ACE_event_t new_handle);
    int wait (void);
    int wait (const ACE_Time_Value *abstime);
    int signal (void);
    int pulse (void);
    int reset (void);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
  protected:
    ACE_event_t handle_;
    int removed_;
  private:
    ACE_Event (const ACE_Event& event);
    const ACE_Event &operator= (const ACE_Event &rhs);
};
```

## DESCRIPTION

Wrappers for various synchronization routines.

## Prevent copying.

```
ACE_Event (const ACE_Event& event);
```

```
const ACE_Event &operator= (const ACE_Event &rhs);
```

## AUTHOR

Doug Schmidt

## LIBRARY

ace
