- Timestamp:
- Jan 3, 2008 6:48:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/os_core_win32.c
r1589 r1659 199 199 int i; 200 200 201 /* Display stack usage */ 202 #if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 203 { 204 pj_thread_t *rec = (pj_thread_t*)main_thread; 205 PJ_LOG(5,(rec->obj_name, "Main thread stack max usage=%u by %s:%d", 206 rec->stk_max_usage, rec->caller_file, rec->caller_line)); 207 } 208 #endif 209 201 210 /* Call atexit() functions */ 202 211 for (i=atexit_count-1; i>=0; --i) { … … 350 359 351 360 PJ_LOG(6,(rec->obj_name, "Thread quitting")); 361 #if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 362 PJ_LOG(5,(rec->obj_name, "Thread stack max usage=%u by %s:%d", 363 rec->stk_max_usage, rec->caller_file, rec->caller_line)); 364 #endif 365 352 366 return (DWORD)result; 353 367 }
Note: See TracChangeset
for help on using the changeset viewer.