- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjlib/src/pj/os_core_linux_kernel.c
- Property svn:keywords set to Author
r1 r3 1 /* $Header: /pjproject-0.3/pjlib/src/pj/os_core_linux_kernel.c 3 10/29/05 11:51a Bennylp $ */ 2 /* $Log: /pjproject-0.3/pjlib/src/pj/os_core_linux_kernel.c $ 3 * 4 * 3 10/29/05 11:51a Bennylp 5 * Version 0.3-pre2. 6 * 7 * 2 10/14/05 12:26a Bennylp 8 * Finished error code framework, some fixes in ioqueue, etc. Pretty 9 * major. 10 * 11 * 1 9/22/05 10:38a Bennylp 12 * Creaetd. 1 /* $Id$ 13 2 * 14 3 */ … … 253 242 254 243 /* Initialize and set the thread entry. */ 255 pj_memset(desc, 0, sizeof( pj_thread_desc));244 pj_memset(desc, 0, sizeof(struct pj_thread_t)); 256 245 257 246 if(cstr_thread_name && pj_strlen(&thread_name) < sizeof(thread->obj_name)-1) … … 288 277 return rc; 289 278 290 return pj_thread_register("pjlib-main", ( pj_uint8_t*)&main_thread, &dummy);279 return pj_thread_register("pjlib-main", (long*)&main_thread, &dummy); 291 280 } 292 281 … … 473 462 } 474 463 475 PJ_DEF( void) pj_thread_local_set(long index, void *value)464 PJ_DEF(pj_status_t) pj_thread_local_set(long index, void *value) 476 465 { 477 466 pj_assert(index >= 0 && index < MAX_TLS_ID); 478 467 tls_values[index] = value; 468 return PJ_SUCCESS; 479 469 } 480 470
Note: See TracChangeset
for help on using the changeset viewer.