Bulk update of the public corpus from /Users/mmj/.cupertino-dev/, the local source that built v1.0.0 / v1.0.1 release database bundles. - docs/: 1,739 new pages, 403,381 modified (schema upgrade to the structured-page format used by v1.0+: overview, rawMarkdown, sections[].items[]). Total 404,568 page JSONs (2.4 GB). - packages/: 1,587 packages (1.5 GB), previously empty in this repo. Includes per-package source archives and READMEs for the curated Swift package set. Some packages (notably swiftlang/swift-foundation-icu) ship 50-100 MB ICU lookup tables — under GitHub's 100 MB limit. No deletions: existing files not in .cupertino-dev are preserved (e.g. swift-org/ has 81 historical pages this update doesn't touch).
151 lines
5.6 KiB
JSON
151 lines
5.6 KiB
JSON
{
|
|
"abstract" : "A dispatch source that monitors a Mach port for dead name notifications, indicating that a send right no longer has a corresponding receive right.",
|
|
"availability" : [
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "iOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "iPadOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "Mac Catalyst",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "macOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "tvOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "visionOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "watchOS",
|
|
"unavailable" : false
|
|
}
|
|
],
|
|
"codeExamples" : [
|
|
|
|
],
|
|
"conformingTypes" : [
|
|
"DispatchSource"
|
|
],
|
|
"contentHash" : "a4f2c2722c097f9c017bd9b626f164892db569629e7b66dc6f5911e0725ff00a",
|
|
"crawlDepth" : 4,
|
|
"crawledAt" : "2026-05-03T05:36:31Z",
|
|
"declaration" : {
|
|
"code" : "protocol DispatchSourceMachSend : DispatchSourceProtocol, Sendable",
|
|
"language" : "swift"
|
|
},
|
|
"id" : "590B4921-F329-679E-6CFC-7FCCDE6FC752",
|
|
"kind" : "protocol",
|
|
"language" : "swift",
|
|
"module" : "Dispatch",
|
|
"overview" : "## Overview\n\nYou do not adopt this protocol in your objects. Instead, use the [doc:\/\/com.apple.dispatch\/documentation\/Dispatch\/DispatchSource\/makeMachSendSource(port:eventMask:queue:)] method to create an object that adopts this protocol.",
|
|
"platforms" : [
|
|
"iOS",
|
|
"iPadOS",
|
|
"Mac Catalyst",
|
|
"macOS",
|
|
"tvOS",
|
|
"visionOS",
|
|
"watchOS"
|
|
],
|
|
"rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/dispatch\/dispatchsourcemachsend\ncrawled: 2026-05-03T05:36:31Z\n---\n\n# DispatchSourceMachSend\n\n**Protocol**\n\nA dispatch source that monitors a Mach port for dead name notifications, indicating that a send right no longer has a corresponding receive right.\n\n## Declaration\n\n```swift\nprotocol DispatchSourceMachSend : DispatchSourceProtocol, Sendable\n```\n\n## Overview\n\nYou do not adopt this protocol in your objects. Instead, use the [doc:\/\/com.apple.dispatch\/documentation\/Dispatch\/DispatchSource\/makeMachSendSource(port:eventMask:queue:)] method to create an object that adopts this protocol.\n\n## Getting the Mach Port Handle\n\n- **handle**\n\n## Getting the Event Data\n\n- **data**\n- **mask**\n\n## Creating a Mach Port Source\n\n- **makeMachReceiveSource(port:queue:)**: Creates a new dispatch source object for monitoring a Mach port for pending messages.\n- **makeMachSendSource(port:eventMask:queue:)**: A dispatch source that monitors a Mach port for dead name notifications.\n- **DispatchSourceMachReceive**: A dispatch source that monitors a Mach port for pending messages.\n- **DispatchSource.MachSendEvent**: Mach-related events.\n\n## Inherits From\n\n- DispatchSourceProtocol\n- NSObjectProtocol\n- Sendable\n- SendableMetatype\n\n## Conforming Types\n\n- DispatchSource\n\n",
|
|
"sections" : [
|
|
{
|
|
"content" : "",
|
|
"items" : [
|
|
{
|
|
"description" : "",
|
|
"name" : "handle",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSourceMachSend\/handle"
|
|
}
|
|
],
|
|
"title" : "Getting the Mach Port Handle"
|
|
},
|
|
{
|
|
"content" : "",
|
|
"items" : [
|
|
{
|
|
"description" : "",
|
|
"name" : "data",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSourceMachSend\/data"
|
|
},
|
|
{
|
|
"description" : "",
|
|
"name" : "mask",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSourceMachSend\/mask"
|
|
}
|
|
],
|
|
"title" : "Getting the Event Data"
|
|
},
|
|
{
|
|
"content" : "",
|
|
"items" : [
|
|
{
|
|
"description" : "Creates a new dispatch source object for monitoring a Mach port for pending messages.",
|
|
"name" : "makeMachReceiveSource(port:queue:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSource\/makeMachReceiveSource(port:queue:)"
|
|
},
|
|
{
|
|
"description" : "A dispatch source that monitors a Mach port for dead name notifications.",
|
|
"name" : "makeMachSendSource(port:eventMask:queue:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSource\/makeMachSendSource(port:eventMask:queue:)"
|
|
},
|
|
{
|
|
"description" : "A dispatch source that monitors a Mach port for pending messages.",
|
|
"name" : "DispatchSourceMachReceive",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSourceMachReceive"
|
|
},
|
|
{
|
|
"description" : "Mach-related events.",
|
|
"name" : "DispatchSource.MachSendEvent",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Dispatch\/DispatchSource\/MachSendEvent"
|
|
}
|
|
],
|
|
"title" : "Creating a Mach Port Source"
|
|
},
|
|
{
|
|
"content" : "",
|
|
"items" : [
|
|
{
|
|
"name" : "DispatchSourceProtocol"
|
|
},
|
|
{
|
|
"name" : "NSObjectProtocol"
|
|
},
|
|
{
|
|
"name" : "Sendable"
|
|
},
|
|
{
|
|
"name" : "SendableMetatype"
|
|
}
|
|
],
|
|
"title" : "Inherits From"
|
|
}
|
|
],
|
|
"source" : "appleJSON",
|
|
"title" : "DispatchSourceMachSend",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/dispatch\/dispatchsourcemachsend"
|
|
} |