File tree 2 files changed +2
-6
lines changed
kotlinx-coroutines-core/common/src
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ internal abstract class EventLoop : CoroutineDispatcher() {
118
118
protected open fun shutdown () {}
119
119
}
120
120
121
- @NativeThreadLocal
121
+ @ThreadLocal
122
122
internal object ThreadLocalEventLoop {
123
123
private val ref = CommonThreadLocal <EventLoop ?>()
124
124
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2
+ * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
5
5
package kotlinx.coroutines.internal
6
6
7
- @OptionalExpectation
8
- @UseExperimental(ExperimentalMultiplatform ::class )
9
- internal expect annotation class NativeThreadLocal ()
10
-
11
7
internal expect class CommonThreadLocal <T >() {
12
8
fun get (): T
13
9
fun set (value : T )
You can’t perform that action at this time.
0 commit comments