diff options
Diffstat (limited to 'tests/test_hashtab_thrash.c')
-rw-r--r-- | tests/test_hashtab_thrash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_hashtab_thrash.c b/tests/test_hashtab_thrash.c index 931cc4318..619090afa 100644 --- a/tests/test_hashtab_thrash.c +++ b/tests/test_hashtab_thrash.c @@ -208,7 +208,7 @@ static void *hash_test_count(void *d) if (last_count == count) { /* Allow other threads to run. */ - sched_yield(); + usleep(1); } else if (last_count > count) { /* Make sure the hashtable never shrinks */ return "hashtab unexpectedly shrank"; |