xflminterface IF_ThreadInfo: public XF_RefCount
This class represents a thread info object. It extends XF_RefCount. It is used to retrieve information about currently executing background threads.
Method Summary |
|
FLMUINT |
getNumThreads - Get the number of threads currently running. |
void |
getThreadInfo - Get information on a specific thread. |
Method Detail |
FLMUINT getNumThreads( void);
This method returns the number of background threads currently running in XFLAIM.
Parameters In: none.
Parameters Out: none.
See Also: getThreadInfo
void getThreadInfo(
FLMUINT uiThreadNum,
FLMUINT * puiThreadId,
FLMUINT * puiThreadGroup,
FLMUINT * puiAppId,
FLMUINT * puiStartTime,
char ** ppszThreadName,
char ** ppszThreadStatus);
This method returns information about a specific background thread running inside of the XFLAIM database system.
Parameters In:
FLMUINT uiThreadNum This is NOT the operating system thread id, but rather, an index (zero-based) into an array of threads kept internally by XFLAIM. If the getNumThreads method returned 12, this should be a number between 0 and 11. If the thread number requested is outside the range of threads held by XFLAIM, the information returned will be zeroes.
Parameters Out:
FLMUINT * puiThreadId The operating system thread Id. Will be zero if uiThreadNum does not specify a valid thread number. FLMUINT * puiThreadGroup The thread group. Will be zero if uiThreadNum does not specify a valid thread number. FLMUINT * puiAppId The application Id. Will be zero if uiThreadNum does not specify a valid thread number. FLMUINT * puiStartTime The thread start time. Will be zero if uiThreadNum does not specify a valid thread number. char ** ppszThreadName The thread name. Will be NULL if uiThreadNum does not specify a valid thread number. char ** ppszThreadStatus The thread status. Will be NULL if uiThreadNum does not specify a valid thread number.
See Also: getNumThreads