Changeset 183:960764fbc68f in freeDiameter for include
- Timestamp:
- Feb 4, 2010, 4:22:55 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfreeDiameter.h
r181 r183 190 190 /* Helper for debugging by adding traces -- for debuging a specific location of the code */ 191 191 #define TRACE_HERE() \ 192 TRACE_DEBUG(NONE, " -- debug checkpoint -- "); 192 TRACE_DEBUG(NONE, " -- debug checkpoint %d -- ", fd_breakhere()); 193 int fd_breakhere(void); 193 194 194 195 /* Helper for tracing the CHECK_* macros bellow -- very very verbose code execution! */ … … 478 479 static __inline__ int fd_thr_term(pthread_t * th) 479 480 { 480 int ret = 0;481 481 void * th_ret = NULL; 482 482 … … 491 491 492 492 /* Then join the thread */ 493 CHECK_POSIX _DO( ret = pthread_join(*th, &th_ret), /* continue */);493 CHECK_POSIX( pthread_join(*th, &th_ret) ); 494 494 495 495 if (th_ret == PTHREAD_CANCELED) { … … 502 502 *th = (pthread_t)NULL; 503 503 504 return ret;504 return 0; 505 505 } 506 506
Note: See TracChangeset
for help on using the changeset viewer.