diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 11:20:40 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | 2453d15dbf7fff2d897c2182886486732be8ac35 (patch) | |
| tree | 7a054859acf25689f67d5df7aa9d50b20bca4b62 /lib/wheel.c | |
| parent | 5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (diff) | |
*: Convert struct thread_master to struct event_master and it's ilk
Convert the `struct thread_master` to `struct event_master`
across the code base.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/wheel.c')
| -rw-r--r-- | lib/wheel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/wheel.c b/lib/wheel.c index 9ba122e826..88719d2ee7 100644 --- a/lib/wheel.c +++ b/lib/wheel.c @@ -60,10 +60,10 @@ static void wheel_timer_thread(struct event *t) event_execute(wheel->master, wheel_timer_thread_helper, wheel, 0); } -struct timer_wheel *wheel_init(struct thread_master *master, int period, - size_t slots, unsigned int (*slot_key)(const void *), - void (*slot_run)(void *), - const char *run_name) +struct timer_wheel *wheel_init(struct event_master *master, int period, + size_t slots, + unsigned int (*slot_key)(const void *), + void (*slot_run)(void *), const char *run_name) { struct timer_wheel *wheel; size_t i; |
