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 /zebra/zserv.h | |
| 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 'zebra/zserv.h')
| -rw-r--r-- | zebra/zserv.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index 0faea9dd73..fc1fd0ec93 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -70,7 +70,7 @@ struct client_gr_info {  	/* Book keeping */  	struct prefix *current_prefix;  	void *stale_client_ptr; -	struct thread *t_stale_removal; +	struct event *t_stale_removal;  	TAILQ_ENTRY(client_gr_info) gr_info;  }; @@ -105,14 +105,14 @@ struct zserv {  	struct buffer *wb;  	/* Threads for read/write. */ -	struct thread *t_read; -	struct thread *t_write; +	struct event *t_read; +	struct event *t_write;  	/* Event for message processing, for the main pthread */ -	struct thread *t_process; +	struct event *t_process;  	/* Event for the main pthread */ -	struct thread *t_cleanup; +	struct event *t_cleanup;  	/* This client's redistribute flag. */  	struct redist_proto mi_redist[AFI_MAX][ZEBRA_ROUTE_MAX]; @@ -378,7 +378,7 @@ void zserv_log_message(const char *errmsg, struct stream *msg,  		       struct zmsghdr *hdr);  /* TODO */ -__attribute__((__noreturn__)) void zebra_finalize(struct thread *event); +__attribute__((__noreturn__)) void zebra_finalize(struct event *event);  /*   * Graceful restart functions.  | 
