File tree 3 files changed +10
-2
lines changed
iosMain/kotlin/org/reduxkotlin/utils
macosMain/kotlin/org/reduxkotlin/utils
winMain/kotlin/org/reduxkotlin/utils
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ package org.reduxkotlin.utils
2
+ import platform.Foundation.NSThread.Companion.currentThread
3
+
4
+ actual fun getThreadName (): String = currentThread.name ? : UNKNOWN_THREAD_NAME
Original file line number Diff line number Diff line change
1
+ package org.reduxkotlin.utils
2
+
3
+ import platform.Foundation.NSThread.Companion.currentThread
4
+
5
+ actual fun getThreadName (): String = currentThread.name ? : UNKNOWN_THREAD_NAME
Original file line number Diff line number Diff line change 1
1
package org.reduxkotlin.utils
2
- import platform.Foundation.NSThread.Companion.currentThread
3
-
2
+ import platform.windows
4
3
actual fun getThreadName (): String = currentThread.name ? : " Unknown"
You can’t perform that action at this time.
0 commit comments