| 1166 | } |
| 1167 | |
| 1168 | void hb_cond_close( hb_cond_t ** _c ) |
| 1169 | { |
| 1170 | hb_cond_t * c = *_c; |
| 1171 | |
| 1172 | if (c == NULL) |
| 1173 | { |
| 1174 | return; |
| 1175 | } |
| 1176 | pthread_cond_destroy( &c->cond ); |
| 1177 | free( c ); |
| 1178 | |
| 1179 | *_c = NULL; |
| 1180 | } |
| 1181 | |
| 1182 | void hb_cond_wait( hb_cond_t * c, hb_lock_t * lock ) |
| 1183 | { |
no outgoing calls
no test coverage detected