.thread_idglobal variable or not. If it is stored, then it's the thread that we want to see its results, and if not, there is no interest for interception. At last, we set the
0to indicate that we finish investigating this thread.
.thread_idto a Thread Id. As we're not configuring the SYSRET event yet, the thread might finish its execution (run SYSRET) before configuring the SYSCALL event, and thus, it never works properly.