---
title: DispatchSourceMachSend
framework: dispatch
role: symbol
role_heading: Protocol
path: dispatch/dispatchsourcemachsend
---

# DispatchSourceMachSend

A dispatch source that monitors a Mach port for dead name notifications, indicating that a send right no longer has a corresponding receive right.

## Declaration

```swift
protocol DispatchSourceMachSend : DispatchSourceProtocol, Sendable
```

## Overview

Overview You do not adopt this protocol in your objects. Instead, use the makeMachSendSource(port:eventMask:queue:) method to create an object that adopts this protocol.

## Topics

### Getting the Mach Port Handle

- [handle](dispatch/dispatchsourcemachsend/handle.md)

### Getting the Event Data

- [data](dispatch/dispatchsourcemachsend/data.md)
- [mask](dispatch/dispatchsourcemachsend/mask.md)

## Relationships

### Inherits From

- [DispatchSourceProtocol](dispatch/dispatchsourceprotocol.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [DispatchSource](dispatch/dispatchsource.md)

## See Also

### Creating a Mach Port Source

- [makeMachReceiveSource(port:queue:)](dispatch/dispatchsource/makemachreceivesource(port:queue:).md)
- [makeMachSendSource(port:eventMask:queue:)](dispatch/dispatchsource/makemachsendsource(port:eventmask:queue:).md)
- [DispatchSourceMachReceive](dispatch/dispatchsourcemachreceive.md)
- [DispatchSource.MachSendEvent](dispatch/dispatchsource/machsendevent.md)
