File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed 
kotlinx-coroutines-core/common/src Expand file tree Collapse file tree 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() {
118118    protected  open  fun  shutdown () {}
119119}
120120
121- @NativeThreadLocal 
121+ @ThreadLocal 
122122internal  object  ThreadLocalEventLoop {
123123    private  val  ref =  CommonThreadLocal <EventLoop ?>()
124124
Original file line number Diff line number Diff line change 11/* 
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. 
33 */  
44
55package  kotlinx.coroutines.internal 
66
7- @OptionalExpectation
8- @UseExperimental(ExperimentalMultiplatform ::class )
9- internal  expect  annotation  class  NativeThreadLocal ()
10- 
117internal  expect  class  CommonThreadLocal <T >() {
128    fun  get (): T 
139    fun  set (value :  T )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments