Changeset 3255 for pjproject/trunk/pjlib/src/pj/log.c
- Timestamp:
- Aug 6, 2010 7:18:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/log.c
r2868 r3255 31 31 static int pj_log_max_level = PJ_LOG_MAX_LEVEL; 32 32 #endif 33 34 #if PJ_HAS_THREADS 33 35 static long thread_suspended_tls_id = -1; 36 #endif 37 34 38 static pj_log_func *log_writer = &pj_log_write; 35 39 static unsigned log_decor = PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC | … … 68 72 #endif 69 73 74 #if PJ_HAS_THREADS 70 75 static void logging_shutdown(void) 71 76 { 72 #if PJ_HAS_THREADS73 77 if (thread_suspended_tls_id != -1) { 74 78 pj_thread_local_free(thread_suspended_tls_id); 75 79 thread_suspended_tls_id = -1; 76 80 } 77 #endif 78 } 81 } 82 #endif 79 83 80 84 pj_status_t pj_log_init(void)
Note: See TracChangeset
for help on using the changeset viewer.