mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Gardening: fix typo in SwiftPrivateThreadExtras.swift
`has a only single thread` -> `is single-threaded`
This commit is contained in:
@@ -101,7 +101,7 @@ public func _stdlib_thread_create_block<Argument, Result>(
|
|||||||
return (0, ThreadHandle(bitPattern: threadID))
|
return (0, ThreadHandle(bitPattern: threadID))
|
||||||
}
|
}
|
||||||
#elseif os(WASI)
|
#elseif os(WASI)
|
||||||
// WASI environment has a only single thread
|
// WASI environment is single-threaded
|
||||||
return (0, nil)
|
return (0, nil)
|
||||||
#else
|
#else
|
||||||
var threadID = _make_pthread_t()
|
var threadID = _make_pthread_t()
|
||||||
|
|||||||
Reference in New Issue
Block a user