setThreadId