#include <threads.h>
Collaboration diagram for ThreadInfo:
Public Methods | |
ThreadInfo () | |
ThreadInfo (const ThreadInfo &) | |
ThreadInfo (char *thread_name, char *group_name, char *parent_name, jobjectID thread_id, JNIEnv *thread_env_id) | |
unsigned long | getStarted () const |
void | setStarted (unsigned long started) const |
const char* | getShortInfo () const |
string | getThreadName () const |
Private Attributes | |
string | m_thread_name |
jobjectID | m_thread_id |
JNIEnv | m_thread_env_id |
char | m_printable [512] |
unsigned long | m_started |
|
Definition at line 54 of file threads.h. 00054 { } |
|
Definition at line 60 of file threads.cpp. 00061 { 00062 strncpy(m_printable, ci.m_printable, 512); 00063 m_thread_name = ci.m_thread_name; 00064 } |
|
Definition at line 51 of file threads.cpp. 00052 : m_thread_name(FixNull(thread_name)), 00053 m_thread_id(thread_id), 00054 m_thread_env_id(*thread_env_id), 00055 m_started(0) 00056 { 00057 _snprintf(m_printable, 512, "%s\n%s\n%s\n", FixNull(thread_name), FixNull(group_name), FixNull(parent_name)); 00058 } |
|
Definition at line 76 of file threads.cpp. Referenced by ThreadDump().
00077 { 00078 return m_printable; 00079 } |
|
Definition at line 71 of file threads.cpp. Referenced by ThreadDump().
00072 { 00073 return m_started; 00074 } |
|
Definition at line 81 of file threads.cpp. 00082 { 00083 return m_thread_name; 00084 } |
|
Definition at line 66 of file threads.cpp. Referenced by ThreadStartHandler().
00067 { 00068 m_started = started; 00069 } |
|
|
|
|
|
|
|
|
|
|