Class

MTLSharedEventHandle

An object you use to recreate a shareable event.

Declaration

@interface MTLSharedEventHandle : NSObject

Overview

To create a MTLSharedEventHandle object, call the newSharedEventHandle method on a MTLSharedEvent object. Use an XPC conection to pass a MTLSharedEventHandle object to another process. To recreate the event, call the newSharedEventWithHandle: on a MTLDevice object.

Topics

Identifying the Shareable Event Handle

label

A string that identifies the shareable event.

Relationships

Inherits From

Conforms To

See Also

Events

About Synchronization Events

Synchronize access to resources in your app by signaling events.

Synchronizing Events Within a Single Device

Use nonshareable events to synchronize your app’s work within a single device.

Synchronizing Events Across Multiple Devices

Use shareable events to synchronize your app’s work across multiple devices.

Synchronizing Events Between a GPU and the CPU

Use shareable events to synchronize your app's work between a GPU and the CPU.

Image Filter Graph with Heaps and Events

Demonstrates how to use heaps and events to optimize a multistage image filter.

MTLEvent

An object you use to synchronize access to Metal resources.

MTLSharedEvent

An object you use to synchronize access to Metal resources across multiple CPUs, GPUs, and processes.

MTLSharedEventListener

A listener for shareable event notifications.