summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-02-28 16:40:31 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:16 +0100
commitcb37cb336a2cca77bfbaf6b0cfab12e847e45623 (patch)
treedef5299d18d1d91fa9e28108c139ca6146e866ed /pbrd
parentMerge pull request #13065 from rgirada/ospf_abr_summary (diff)
downloadfrr-cb37cb336a2cca77bfbaf6b0cfab12e847e45623.tar.xz
frr-cb37cb336a2cca77bfbaf6b0cfab12e847e45623.zip
*: Rename thread.[ch] to event.[ch]
This is a first in a series of commits, whose goal is to rename the thread system in FRR to an event system. There is a continual problem where people are confusing `struct thread` with a true pthread. In reality, our entire thread.c is an event system. In this commit rename the thread.[ch] files to event.[ch]. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_main.c2
-rw-r--r--pbrd/pbr_map.c2
-rw-r--r--pbrd/pbr_zebra.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c
index 9b34815c4..2941dbeca 100644
--- a/pbrd/pbr_main.c
+++ b/pbrd/pbr_main.c
@@ -8,7 +8,7 @@
#include <lib/version.h>
#include "getopt.h"
-#include "thread.h"
+#include "event.h"
#include "prefix.h"
#include "linklist.h"
#include "if.h"
diff --git a/pbrd/pbr_map.c b/pbrd/pbr_map.c
index 0e18f1198..1519af4ee 100644
--- a/pbrd/pbr_map.c
+++ b/pbrd/pbr_map.c
@@ -6,7 +6,7 @@
*/
#include <zebra.h>
-#include "thread.h"
+#include "event.h"
#include "linklist.h"
#include "prefix.h"
#include "table.h"
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c
index 1b18853d2..c2c785fb6 100644
--- a/pbrd/pbr_zebra.c
+++ b/pbrd/pbr_zebra.c
@@ -6,7 +6,7 @@
*/
#include <zebra.h>
-#include "thread.h"
+#include "event.h"
#include "command.h"
#include "network.h"
#include "prefix.h"