identifier of the calling thread:
GetCurrentThreadId