Quick and harmless test to see if the transaction still has pending branches */
| 860 | /* Quick and harmless test to see if the transaction still has |
| 861 | pending branches */ |
| 862 | static inline int tran_is_completed( struct cell *t ) |
| 863 | { |
| 864 | int i; |
| 865 | |
| 866 | for( i=t->first_branch ; i<t->nr_of_outgoings ; i++ ) |
| 867 | if ( TM_BRANCH(t,i).last_received<200 ) |
| 868 | return 0; |
| 869 | |
| 870 | return 1; |
| 871 | } |
| 872 | |
| 873 | |
| 874 | /* This is the neurological point of reply processing -- called |
no outgoing calls
no test coverage detected