User-Level Native Thread Primitives (GThread) Library White Paper (G06.26+)
User-Level Native Thread Primitives (GThread Library) 03/31/2005
Hewlett-Packard Company--540065-001 Page 25 of 46
GTH_ THREAD_NEXT_( GThread_CB cb )
Description:
Returns the next (younger) thread currently defined in the process. Callable for either static or
swapped threads. This replaces accessing the thread control block element ThreadNext.
Input:
cb - The address of the thread control block.
Return: GThread_CB
The address of the next thread.
Considerations:
Provided for completeness.
GTH_ THREAD_PREV_( GThread_CB cb )
Description:
Returns the previous (older) thread currently defined in the process. Callable for either static or
swapped threads. This replaces accessing the thread control block element ThreadPrev.
Input:
cb - The address of the thread control block.
Return: GThread_CB
The address of the previous thread.
Considerations:
Provided for completeness.