Changeset 750 for pjproject/trunk/pjlib/src/pj/os_core_unix.c
- Timestamp:
- Oct 4, 2006 8:46:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/os_core_unix.c
r746 r750 185 185 PJ_DEF(pj_bool_t) pj_thread_is_registered(void) 186 186 { 187 #if PJ_HAS_THREADS 187 188 return pj_thread_local_get(thread_tls_id) != 0; 189 #else 190 pj_assert("pj_thread_is_registered() called in non-threading mode!"); 191 return PJ_TRUE; 192 #endif 188 193 } 189 194 … … 945 950 return PJ_SUCCESS; 946 951 #else /* PJ_HAS_THREADS */ 947 return (pj_mutex_t*)1; 952 *ptr_mutex = (pj_mutex_t*)1; 953 return PJ_SUCCESS; 948 954 #endif 949 955 }
Note: See TracChangeset
for help on using the changeset viewer.