This commit is contained in:
Him188 2020-02-18 21:10:18 +08:00
parent 35b8cfeb2a
commit 9989894802

View File

@ -63,9 +63,6 @@ internal class LockFreeLinkedListTest {
val addJob = async { list.concurrentDo(2, 30000) { addLast(1) } }
//delay(1) // let addJob fly
if (addJob.isCompleted) {
return
}
val foreachJob = async {
list.concurrentDo(1, 10000) {
forEach { it + it }