qt_team_id - Man Page
returns the current team's unique ID number
Synopsis
#include <qthread.h>
unsigned int
qt_team_id (void);
Description
This function returns the unique identifier associated with the qthread team to which the currently executing qthread belongs. Generally they are monotonically increasing values, but the value can wrap around after UINT_MAX-1 teams.
Return Value
On success, the thread's team's identifying number is returned. If called from outside the Qthreads library, QTHREAD_NON_TEAM_ID is returned. The special value QTHREAD_NULL_TEAM_ID will never be returned.
See Also
Referenced By
NOVEMBER 2012 libqthread