| 25 | } |
| 26 | |
| 27 | void prod::retry() |
| 28 | { |
| 29 | impedance::retry(this); |
| 30 | if (retries++ <= retry_limit) |
| 31 | return; |
| 32 | |
| 33 | impedance::limit(this); |
| 34 | throw std::runtime_error(std::string("excessive retries in ") |
| 35 | + typeid(*this).name()); |
| 36 | } |
| 37 | |
| 38 | void prod::match() |
| 39 | { |