diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-03-01 16:18:12 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 | 
| commit | e6685141aae8fc869d49cde1d459f73b87bbec89 (patch) | |
| tree | 465539dece789430eaaf76bce18c754c5e18f452 /babeld/babeld.c | |
| parent | cb37cb336a2cca77bfbaf6b0cfab12e847e45623 (diff) | |
*: Rename `struct thread` to `struct event`
Effectively a massive search and replace of
`struct thread` to `struct event`.  Using the
term `thread` gives people the thought that
this event system is a pthread when it is not
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'babeld/babeld.c')
| -rw-r--r-- | babeld/babeld.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index 5104155936..1cd913c766 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -37,11 +37,11 @@ Copyright 2011 by Matthieu Boutier and Juliusz Chroboczek  DEFINE_MGROUP(BABELD, "babeld");  DEFINE_MTYPE_STATIC(BABELD, BABEL, "Babel Structure"); -static void babel_init_routing_process(struct thread *thread); +static void babel_init_routing_process(struct event *thread);  static void babel_get_myid(void);  static void babel_initial_noise(void); -static void babel_read_protocol(struct thread *thread); -static void babel_main_loop(struct thread *thread); +static void babel_read_protocol(struct event *thread); +static void babel_main_loop(struct event *thread);  static void babel_set_timer(struct timeval *timeout);  static void babel_fill_with_next_timeout(struct timeval *tv);  static void @@ -163,7 +163,7 @@ fail:  }  /* thread reading entries form others babel daemons */ -static void babel_read_protocol(struct thread *thread) +static void babel_read_protocol(struct event *thread)  {      int rc;      struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT); @@ -199,7 +199,7 @@ static void babel_read_protocol(struct thread *thread)  /* Zebra will give some information, especially about interfaces. This function   must be call with a litte timeout wich may give zebra the time to do his job,   making these inits have sense. */ -static void babel_init_routing_process(struct thread *thread) +static void babel_init_routing_process(struct event *thread)  {      myseqno = (frr_weak_random() & 0xFFFF);      babel_get_myid(); @@ -311,7 +311,7 @@ babel_clean_routing_process(void)  }  /* Function used with timeout. */ -static void babel_main_loop(struct thread *thread) +static void babel_main_loop(struct event *thread)  {      struct timeval tv;      struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);  | 
