Commit 47d6d6e5 authored by Him188's avatar Him188

Change atomic property to val

parent 71f639ae
...@@ -118,7 +118,7 @@ class LockFreeLinkedList<E> : MutableList<E>, RandomAccess { ...@@ -118,7 +118,7 @@ class LockFreeLinkedList<E> : MutableList<E>, RandomAccess {
currentNoderef.value = value currentNoderef.value = value
} }
private var currentNoderef: AtomicRef<Node<E>> = atomic(head) // concurrent compatibility private val currentNoderef: AtomicRef<Node<E>> = atomic(head) // concurrent compatibility
/** /**
* Check if * Check if
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment