Tests: Shouldn't be able to change global slowness.

This can help ensure that we don't leave slowness changes behind in case of
resource exhaustion.
This commit is contained in:
David Goldblatt
2018-05-11 16:43:43 -07:00
committed by David Goldblatt
parent 59e371f463
commit 0379235f47
3 changed files with 19 additions and 1 deletions

View File

@@ -117,6 +117,7 @@ void tsd_slow_update(tsd_t *tsd);
*/
void tsd_global_slow_inc(tsdn_t *tsdn);
void tsd_global_slow_dec(tsdn_t *tsdn);
bool tsd_global_slow();
enum {
/* Common case --> jnz. */