version 1.19, 2008/09/02 14:11:21
|
version 1.20, 2008/10/30 17:25:59
|
|
|
break; | break; |
} | } |
| |
struct timeval *lastActivityTime; |
void* tsd = 0; |
if (!thread->try_reference_tsd( |
if (!thread->try_reference_tsd("last activity time", &tsd)) |
"last activity time", (void**)&lastActivityTime)) |
|
{ | { |
PEGASUS_ASSERT(false); | PEGASUS_ASSERT(false); |
_idleThreads.insert_back(thread); | _idleThreads.insert_back(thread); |
break; | break; |
} | } |
|
struct timeval *lastActivityTime = |
|
reinterpret_cast<struct timeval*>(tsd); |
PEGASUS_ASSERT(lastActivityTime != 0); | PEGASUS_ASSERT(lastActivityTime != 0); |
| |
Boolean cleanupThisThread = | Boolean cleanupThisThread = |