Returns the context for a specified thread ID.
#include <nks/thread.h>
int NXThreadGetContext (
NXThreadId_t tid,
NXContext_t *ctx);
(IN) Specifies the target thread ID.
(OUT) Points to the location where the thread's context is returned.