Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
kotlinx.coroutines
/
50999e917ed00d5092e63ec0d4d62a08aff84761
/
.
/
kotlinx-coroutines-core
/
nativeDarwin
/
src
/
WorkerMain.kt
blob: 3445cb9897a98d1ffacd4b9fd2b8cd33f9d0e0cc [
file
] [
log
] [
blame
]
/*
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package
kotlinx
.
coroutines
import
kotlinx
.
cinterop
.*
internal
actual
inline
fun workerMain
(
block
:
()
->
Unit
)
{
autoreleasepool
{
block
()
}
}