mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: rename _stdlib_PTHREAD_BARRIER_SERIAL_THREAD -> _stdlib_THREAD_BARRIER_SERIAL_THREAD
This commit is contained in:
@@ -134,7 +134,7 @@ public class _stdlib_Barrier {
|
||||
|
||||
public func wait() {
|
||||
let ret = _stdlib_thread_barrier_wait(_pthreadBarrierPtr)
|
||||
if !(ret == 0 || ret == _stdlib_PTHREAD_BARRIER_SERIAL_THREAD) {
|
||||
if !(ret == 0 || ret == _stdlib_THREAD_BARRIER_SERIAL_THREAD) {
|
||||
fatalError("_stdlib_thread_barrier_wait() failed")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user