osGetThreadId osGetThreadId (function)

Obtains the debugger identifier of a thread


#include <ultra64.h>     /* ultra64.h */
void osGetThreadId(OSThread *t);


osGetThreadID returns the debugger identifier assigned to thread t at thread creation time. This identifier is used by the N64 debugger gvd as a convenient handler-to-thread for its user interface. If t is NULL, the debugger identifier of the invoking (currently running) thread is returned.

See Also

osCreateThread, osGetThreadPri, osStartThread, and osYieldThread

Revision History

1999/04/30 Changed Format