| 155 | /******************************************************************************/ |
| 156 | |
| 157 | static uint8_t |
| 158 | tsd_state_compute(tsd_t *tsd) { |
| 159 | if (!tsd_nominal(tsd)) { |
| 160 | return tsd_state_get(tsd); |
| 161 | } |
| 162 | /* We're in *a* nominal state; but which one? */ |
| 163 | if (malloc_slow || tsd_local_slow(tsd) || tsd_global_slow()) { |
| 164 | return tsd_state_nominal_slow; |
| 165 | } else { |
| 166 | return tsd_state_nominal; |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | void |
| 171 | tsd_slow_update(tsd_t *tsd) { |
no test coverage detected