Changeset 7:e5af94b04946 in freeDiameter for libfreeDiameter/dictionary.c
- Timestamp:
- Sep 4, 2009, 6:05:25 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfreeDiameter/dictionary.c
r1 r7 410 410 411 411 /* Unlink all elements from the dispatch list; they will be freed when callback is unregistered */ 412 CHECK_POSIX_DO( pthread_rwlock_wrlock(&fd_disp_lock), /* continue */ ); 412 413 while (!FD_IS_LIST_EMPTY(&obj->disp_cbs)) { 413 414 fd_list_unlink( obj->disp_cbs.next ); 414 415 } 416 CHECK_POSIX_DO( pthread_rwlock_unlock(&fd_disp_lock), /* continue */ ); 415 417 416 418 /* Last, destroy the object */
Note: See TracChangeset
for help on using the changeset viewer.