Changeset 649:5e5d8152c229 in freeDiameter for freeDiameter/fD.h
- Timestamp:
- Jan 5, 2011, 5:13:34 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/fD.h
r447 r649 118 118 /* Sentinel for the sent requests list */ 119 119 struct sr_list { 120 struct fd_list srs; 121 pthread_mutex_t mtx; 120 struct fd_list srs; /* requests ordered by hop-by-hop id */ 121 struct fd_list exp; /* requests that have a timeout set, ordered by timeout */ 122 pthread_mutex_t mtx; /* mutex to protect these lists */ 123 pthread_cond_t cnd; /* cond var used by the thread that handles timeouts */ 124 pthread_t thr; /* the thread that handles timeouts (and calls the anscb) */ 122 125 }; 123 126 … … 290 293 int fd_p_sr_store(struct sr_list * srlist, struct msg **req, uint32_t *hbhloc, uint32_t hbh_restore); 291 294 int fd_p_sr_fetch(struct sr_list * srlist, uint32_t hbh, struct msg **req); 295 int fd_p_sr_start(struct sr_list * srlist); 296 int fd_p_sr_stop(struct sr_list * srlist); 292 297 void fd_p_sr_failover(struct sr_list * srlist); 293 298
Note: See TracChangeset
for help on using the changeset viewer.