File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
stdlib/private/StdlibUnittest Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -501,17 +501,17 @@ public func runRaceTest<RT : RaceTestWithPerTrialDataType>(
501
501
let racingThreadCount = threads ?? max ( 2 , _stdlib_getHardwareConcurrency ( ) )
502
502
let sharedState = _RaceTestSharedState < RT > ( racingThreadCount: racingThreadCount)
503
503
504
- let masterThreadBody : ( _ : ( ) ) -> ( ) = {
505
- ( _ : ( ) ) -> ( ) in
504
+ let masterThreadBody : ( ) -> Void = {
505
+ ( ) -> Void in
506
506
for _ in 0 ..< trials {
507
507
autoreleasepool {
508
508
_masterThreadOneTrial ( sharedState)
509
509
}
510
510
}
511
511
}
512
512
513
- let racingThreadBody : ( Int ) -> ( ) = {
514
- ( tid: Int ) -> ( ) in
513
+ let racingThreadBody : ( Int ) -> Void = {
514
+ ( tid: Int ) -> Void in
515
515
for _ in 0 ..< trials {
516
516
_workerThreadOneTrial ( tid, sharedState)
517
517
}
You can’t perform that action at this time.
0 commit comments