Skip to content

Commit a46d368

Browse files
committed
Clarify current thread id javadoc
1 parent e005963 commit a46d368

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ddprof-lib/src/main/java/com/datadoghq/profiler/JavaProfiler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ public long getCurrentTicks() {
334334
}
335335

336336
/**
337-
* Returns the OS-level thread ID (tid) of the calling thread, cached in ProfiledThread TLS.
338-
* Safe to call from any profiled thread; returns -1 if ProfiledThread is not initialized.
337+
* Returns the OS-level thread ID (tid) of the calling thread.
339338
*/
340339
public int getCurrentThreadId() {
341340
return getTid0();

0 commit comments

Comments
 (0)