We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55398e commit 4faf129Copy full SHA for 4faf129
src/swift/Source.swift
@@ -302,8 +302,7 @@ extension DispatchSourceMemoryPressure {
302
#if !os(Linux) && !os(Android) && !os(Windows)
303
extension DispatchSourceProcess {
304
public var handle: pid_t {
305
- return pid_t((self as! DispatchSource).handle)
306
-// return pid_t(dispatch_source_get_handle(self as! DispatchSource))
+ return pid_t(CDispatch.dispatch_source_get_handle((self as! DispatchSource).__wrapped))
307
}
308
309
public var data: DispatchSource.ProcessEvent {
0 commit comments