Table of Contents

Name

qthread_retloc - returns the qthread’s unique ID number

Synopsis

#include <qthread/qthread.h>

aligned_t *
qthread_retloc(qthread_t *t);

Description

This function returns the location that the return value of the qthread_t r will be stored into, if one has been defined.

Return Value

If t is non-null, it returns a pointer to the location that the return value of the thread will be stored in. If t is NULL, qthread_retloc() returns a pointer to the location that the return value of the currently running thread will be stored in. If the thread’s return value will not be stored via FEBs, this function will return NULL.

See Also

qthread_id(3) , qthread_self(3) , qthread_shep(3) , qthread_stackleft(3)


Table of Contents