diff options
Diffstat (limited to 'tests/lib/test_heavy_thread.c')
| -rw-r--r-- | tests/lib/test_heavy_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_heavy_thread.c b/tests/lib/test_heavy_thread.c index 9084bf55eb..fd8e910fd5 100644 --- a/tests/lib/test_heavy_thread.c +++ b/tests/lib/test_heavy_thread.c @@ -67,7 +67,7 @@ static void clear_something(struct event *thread) while (ws->i < ITERS_MAX) { slow_func(ws->vty, ws->str, ws->i); ws->i++; - if (thread_should_yield(thread)) { + if (event_should_yield(thread)) { event_add_timer_msec(master, clear_something, ws, 0, NULL); return; |
