Golang implements routines switch inside the OS thread, and the routine may pause in one OS thread and resume in another thread. So the tree build per thread may give the wrong call stack. We need to implement the API let the client can set the current context to solve this problem.
Golang implements routines switch inside the OS thread, and the routine may pause in one OS thread and resume in another thread. So the tree build per thread may give the wrong call stack. We need to implement the API let the client can set the current context to solve this problem.