Changeset 1589 for pjproject/trunk/pjlib/src/pj/os_core_unix.c
- Timestamp:
- Nov 21, 2007 2:12:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/os_core_unix.c
r1567 r1589 239 239 } 240 240 241 /* 242 * Get native thread handle 243 */ 244 PJ_DEF(void*) pj_thread_get_os_handle(pj_thread_t *thread) 245 { 246 PJ_ASSERT_RETURN(thread, NULL); 247 248 #if PJ_HAS_THREADS 249 return &thread->thread; 250 #else 251 pj_assert("pj_thread_is_registered() called in non-threading mode!"); 252 return NULL; 253 #endif 254 } 241 255 242 256 /*
Note: See TracChangeset
for help on using the changeset viewer.