Skip to content

Commit

Permalink
make statisticsLock a val
Browse files Browse the repository at this point in the history
  • Loading branch information
konnov committed Sep 23, 2024
1 parent 14ffe66 commit 93c9b6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Z3SolverContext(val config: SolverConfig) extends SolverContext with LazyL
private var state: ContextState = Running()

// the lock shared between the context and the statistics thread
private var statisticsLock: ReentrantLock = new ReentrantLock()
private val statisticsLock: ReentrantLock = new ReentrantLock()
// start a new thread to collect statistics
private val statisticsThread = new Thread(() => {
while (state == Running()) {
Expand Down

0 comments on commit 93c9b6f

Please sign in to comment.