getThreadId