<init>

kotlin-stdlib / kotlin.native.concurrent / WorkerBoundReference / <init>
 

Platform and version requirements: Native (1.3) 

WorkerBoundReference(value: T) 
 A frozen shared reference to a Kotlin object. Can be safely passed between workers, but value can only be accessed on the worker WorkerBoundReference was created on, unless the referred object is frozen too. Note: Garbage collector currently cannot free any reference cycles with WorkerBoundReference in them. To resolve such cycles consider using AtomicReferenceWorkerBoundReference? which can be explicitly nulled out. 


    
{'path': 'public/docs/kotlin~1.4/api/latest/jvm/stdlib/kotlin.native.concurrent/-worker-bound-reference/-init-.html', 'source': 'DevDocs.IO'}