mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
cleaning up initializePointee/deinitializePointee, error messages and comments
This commit is contained in:
@@ -95,7 +95,7 @@ func sliceConcurrentAppendThread(tid: ThreadID) {
|
||||
|
||||
StringTestSuite.test("SliceConcurrentAppend") {
|
||||
barrierVar = UnsafeMutablePointer(allocatingCapacity: 1)
|
||||
barrierVar.initializeMemory(_stdlib_pthread_barrier_t())
|
||||
barrierVar.initializePointee(_stdlib_pthread_barrier_t())
|
||||
var ret = _stdlib_pthread_barrier_init(barrierVar, nil, 2)
|
||||
expectEqual(0, ret)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user