Return Type | Function name | Arguments |
---|---|---|
hzProcess* | GetThreadInfo | (void) |
Declared in file: hzProcess.h
Defined in file : hzProcess.cpp
Function Logic:
Function body:
hzProcess* GetThreadInfo (void) { hzProcess* phz ; pthread_t tid ; uint32_t n ; tid = pthread_self() ; for (n = 0; n < s_num_threads ; n++) { phz = s_actThreadReg[n] ; if (tid == phz->GetTID()) return phz ; } return 0; }