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:
Saleem Abdulrasool
2018-11-25 11:22:27 -08:00
parent 82360c6b27
commit 940db1b0cf
4 changed files with 7 additions and 17 deletions

View File

@@ -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)