MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / currentThread

Method currentThread

vm/JavaAPI/src/java/lang/Thread.java:119–119  ·  view source on GitHub ↗

Returns a reference to the currently executing Thread object.

()

Source from the content-addressed store, hash-verified

117 * Returns a reference to the currently executing Thread object.
118 */
119 public native static java.lang.Thread currentThread();
120
121 private static native long getNativeThreadId();
122

Callers 15

runMethod · 0.95
runCurrentRequestMethod · 0.95
runMethod · 0.95
logThrowableMethod · 0.95
getThreadAndTimeStampMethod · 0.95
pushMethod · 0.95
popMethod · 0.95
storeStackMethod · 0.95
isEdtMethod · 0.95
mainEDTLoopMethod · 0.95
edtLoopImplMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by 15

connectMethod · 0.76
awaitMethod · 0.76
logThrowableMethod · 0.76
runTranslatorMethod · 0.76
stopProfilingMethod · 0.76
loadAdapterClassMethod · 0.76
runTranslatorImplMethod · 0.76
waitForAsyncMethod · 0.76
runOffEdtMethod · 0.76
awaitMethod · 0.76
runOffEdtMethod · 0.76