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/zebra_ptm.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/zebra_ptm.h')
| -rw-r--r-- | zebra/zebra_ptm.h | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zebra_ptm.h b/zebra/zebra_ptm.h index 9cea96555b..1b2f7a02d4 100644 --- a/zebra/zebra_ptm.h +++ b/zebra/zebra_ptm.h @@ -26,9 +26,9 @@ struct zebra_ptm_cb {  	struct buffer *wb; /* Buffer of data waiting to be written to ptm. */ -	struct thread *t_read;  /* Thread for read */ -	struct thread *t_write; /* Thread for write */ -	struct thread *t_timer; /* Thread for timer */ +	struct event *t_read;  /* Thread for read */ +	struct event *t_write; /* Thread for write */ +	struct event *t_timer; /* Thread for timer */  	char *out_data;  	char *in_data; @@ -57,7 +57,7 @@ struct zebra_ptm_cb {  void zebra_ptm_init(void);  void zebra_ptm_finish(void); -void zebra_ptm_connect(struct thread *t); +void zebra_ptm_connect(struct event *t);  void zebra_ptm_write(struct vty *vty);  int zebra_ptm_get_enable_state(void);  | 
