mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: remove pthread_attr_t from _stdlib_pthread_create_block
The attributes were not being used currently. Since this is a private interface, remove the parameter as it makes it easier to port to Windows.
This commit is contained in:
@@ -94,9 +94,9 @@ StringTestSuite.test("SliceConcurrentAppend") {
|
||||
expectEqual(0, ret)
|
||||
|
||||
let (createRet1, tid1) = _stdlib_pthread_create_block(
|
||||
nil, sliceConcurrentAppendThread, .Primary)
|
||||
sliceConcurrentAppendThread, .Primary)
|
||||
let (createRet2, tid2) = _stdlib_pthread_create_block(
|
||||
nil, sliceConcurrentAppendThread, .Secondary)
|
||||
sliceConcurrentAppendThread, .Secondary)
|
||||
|
||||
expectEqual(0, createRet1)
|
||||
expectEqual(0, createRet2)
|
||||
|
||||
Reference in New Issue
Block a user