Navigation


Changeset 649:5e5d8152c229 in freeDiameter for freeDiameter/peers.c


Ignore:
Timestamp:
Jan 5, 2011, 5:13:34 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Implemented fd_msg_send_timeout to close #10. Not tested yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/peers.c

    r454 r649  
    7979       
    8080        fd_list_init(&p->p_sr.srs, p);
     81        fd_list_init(&p->p_sr.exp, p);
    8182        CHECK_POSIX( pthread_mutex_init(&p->p_sr.mtx, NULL) );
     83        CHECK_POSIX( pthread_cond_init(&p->p_sr.cnd, NULL) );
    8284       
    8385        fd_list_init(&p->p_connparams, p);
     
    251253        CHECK_FCT_DO( fd_fifo_del(&p->p_tosend), /* continue */ );
    252254        CHECK_POSIX_DO( pthread_mutex_destroy(&p->p_sr.mtx), /* continue */);
     255        CHECK_POSIX_DO( pthread_cond_destroy(&p->p_sr.cnd), /* continue */);
    253256       
    254257        /* If the callback is still around... */
Note: See TracChangeset for help on using the changeset viewer.