"@DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2014-09-03 15:01:15.190 -0400", hash_original_method = "F262A3A18BABECF7EC492736953EAF6E",hash_generated_method = "94A4545C167C029CC38AACEACF2087E9") private fun unparkSuccessor(node: Node) {val ws: Int = node.waitStatus if (ws < 0) compareAndSetWaitStatus(node, ws, 0) var s: Node? = node.next if (s == null || s.waitStatus > 0) { s = null var t: Node = tail while (t != null && t !== node) { if (t.waitStatus <= 0) s = t t = t.prev } } if (s != null) LockSupport.unpark(s.thread) }
Wakes up node 's successor , if one exists .