Detection method: output the id of the current thread in java and C respectively.
Java gets thread Id:
Thread.currentThread()。 getId(); Get the thread Id in c:
GetCurrentThreadId();