osGetThreadId.3p 694 Bytes
.TH osGetThreadId 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
osGetThreadId \- obtain debugger identifier of a thread
.SH SYNOPSIS
.nf
\f3
.Op c
#include <ultra64.h>
.sp .8v
void osGetThreadId(OSThread \(**t);
.Op
\f1
.fi
.SH DESCRIPTION
The
.I osGetThreadId
call simply returns the debugger identifier assigned to thread
.I t
at thread creation time.
This identifier is used by the Nintendo64 debugger
.IR gvd (1P)
as convenient handler to thread for its user interface.
If
.I t
is NULL,
then the debugger identifier of the invoking (currently running) thread
is returned.
.SH "SEE ALSO"
.IR osCreateThread (3P),
.IR osGetThreadPri (3P),
.IR osStartThread (3P),
.IR osYieldThread (3P)