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.

Implementing a Multistage Image Filter Using Heaps and Events

Use events to synchronize access to resources allocated on a heap.

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.