diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-03-01 22:18:12 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | e6685141aae8fc869d49cde1d459f73b87bbec89 (patch) | |
tree | 465539dece789430eaaf76bce18c754c5e18f452 /zebra/zebra_opaque.c | |
parent | *: Rename thread.[ch] to event.[ch] (diff) | |
download | frr-e6685141aae8fc869d49cde1d459f73b87bbec89.tar.xz frr-e6685141aae8fc869d49cde1d459f73b87bbec89.zip |
*: 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_opaque.c')
-rw-r--r-- | zebra/zebra_opaque.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_opaque.c b/zebra/zebra_opaque.c index 7cfb3294e..491ea45d9 100644 --- a/zebra/zebra_opaque.c +++ b/zebra/zebra_opaque.c @@ -80,7 +80,7 @@ static struct zebra_opaque_globals { struct thread_master *master; /* Event/'thread' pointer for queued zapi messages */ - struct thread *t_msgs; + struct event *t_msgs; /* Input fifo queue to the module, and lock to protect it. */ pthread_mutex_t mutex; @@ -94,7 +94,7 @@ static const char LOG_NAME[] = "Zebra Opaque"; /* Prototypes */ /* Main event loop, processing incoming message queue */ -static void process_messages(struct thread *event); +static void process_messages(struct event *event); static int handle_opq_registration(const struct zmsghdr *hdr, struct stream *msg); static int handle_opq_unregistration(const struct zmsghdr *hdr, @@ -258,7 +258,7 @@ uint32_t zebra_opaque_enqueue_batch(struct stream_fifo *batch) /* * Pthread event loop, process the incoming message queue. */ -static void process_messages(struct thread *event) +static void process_messages(struct event *event) { struct stream_fifo fifo; struct stream *msg; |