• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
<lambda>null2  * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
5 package internal_test2
6 
7 import kotlinx.atomicfu.*
8 
9 class Updater {
10     internal val internalTrace = Trace(format = TraceFormat { i, text -> "Updater: $i [$text]" })
11     private val t = Trace(20)
12 
13     val a1 = atomic(5, internalTrace)
14     private val a2 = atomic(6, t)
15 }