toggle menu
korge-root
5.1.0
common
darwin
js
jvmAndroid
switch theme
search in API
korge-foundation
/
korlibs.datastructure.thread
/
NativeThread
/
Companion
Companion
common
darwin
js
jvmAndroid
expect
object
Companion
actual
object
Companion
actual
object
Companion
actual
object
Companion
Members
Members & Extensions
Properties
current
Thread
Id
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
val
currentThreadId
:
Long
actual
val
currentThreadId
:
Long
actual
val
currentThreadId
:
Long
actual
val
currentThreadId
:
Long
current
Thread
Name
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
val
currentThreadName
:
String
?
actual
val
currentThreadName
:
String
?
actual
val
currentThreadName
:
String
?
actual
val
currentThreadName
:
String
?
is
Supported
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
val
isSupported
:
Boolean
actual
val
isSupported
:
Boolean
actual
val
isSupported
:
Boolean
actual
val
isSupported
:
Boolean
warn
Sleep
Link copied to clipboard
js
val
warnSleep
:
Unit
Functions
gc
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
fun
gc
(
full
:
Boolean
)
actual
fun
gc
(
full
:
Boolean
)
actual
fun
gc
(
full
:
Boolean
)
actual
fun
gc
(
full
:
Boolean
)
sleep
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
fun
sleep
(
time
:
TimeSpan
)
actual
fun
sleep
(
time
:
TimeSpan
)
actual
fun
sleep
(
time
:
TimeSpan
)
actual
fun
sleep
(
time
:
TimeSpan
)
sleep
Link copied to clipboard
fun
NativeThread.Companion
.
sleep
(
time
:
TimeSpan
,
exact
:
Boolean
)
sleep
Exact
Link copied to clipboard
fun
NativeThread.Companion
.
sleepExact
(
time
:
TimeSpan
)
sleep
Until
Link copied to clipboard
fun
NativeThread.Companion
.
sleepUntil
(
date
:
DateTime
,
exact
:
Boolean
=
true
)
sleep
While
Link copied to clipboard
fun
NativeThread.Companion
.
sleepWhile
(
cond
:
(
)
->
Boolean
)
spin
While
Link copied to clipboard
common
darwin
js
jvmAndroid
expect
inline
fun
spinWhile
(
cond
:
(
)
->
Boolean
)
actual
inline
fun
spinWhile
(
cond
:
(
)
->
Boolean
)
actual
inline
fun
spinWhile
(
cond
:
(
)
->
Boolean
)
actual
inline
fun
spinWhile
(
cond
:
(
)
->
Boolean
)