Skip to content

Commit

Permalink
Quickfix for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DLochmelis33 committed Aug 6, 2024
1 parent 07f1095 commit bc3f746
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class JvmThreadRunner : LitmusRunner() {
barrierProducer: BarrierProducer,
syncPeriod: Int,
affinityMap: AffinityMap?
): () -> LitmusResult {
): BlockingFuture<LitmusResult> {
val barrier = barrierProducer(test.threadCount)

val threads = List(test.threadCount) { threadIndex ->
Expand All @@ -25,7 +25,7 @@ class JvmThreadRunner : LitmusRunner() {
}
threads.forEach { it.start() }

return {
return BlockingFuture {
threads.forEach { it.join() }
calcStats(states.asIterable(), test.outcomeSpec, test.outcomeFinalizer)
}
Expand Down

0 comments on commit bc3f746

Please sign in to comment.