---
title: MTLSharedEventHandle
framework: metal
role: symbol
role_heading: Class
path: metal/mtlsharedeventhandle
---

# MTLSharedEventHandle

An instance you use to recreate a shareable event.

## Declaration

```swift
class MTLSharedEventHandle
```

## Overview

Overview To create a MTLSharedEventHandle instance, call the makeSharedEventHandle() method on an MTLSharedEvent instance. Use an XPC conection to pass a MTLSharedEventHandle instance to another process. To recreate the event, call the makeSharedEvent(handle:) on an MTLDevice instance.

## Topics

### Identifying the shareable event handle

- [label](metal/mtlsharedeventhandle/label.md)

### Initializers

- [init(coder:)](metal/mtlsharedeventhandle/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Synchronizing with events

- [Implementing a multistage image filter using heaps and events](metal/implementing-a-multistage-image-filter-using-heaps-and-events.md)
- [About synchronization events](metal/about-synchronization-events.md)
- [Synchronizing events within a single device](metal/synchronizing-events-within-a-single-device.md)
- [Synchronizing events across multiple devices or processes](metal/synchronizing-events-across-multiple-devices-or-processes.md)
- [Synchronizing events between a GPU and the CPU](metal/synchronizing-events-between-a-gpu-and-the-cpu.md)
- [MTLEvent](metal/mtlevent.md)
- [MTLSharedEvent](metal/mtlsharedevent.md)
- [MTLSharedEventListener](metal/mtlsharedeventlistener.md)
- [MTLSharedEventNotificationBlock](metal/mtlsharedeventnotificationblock.md)
