summaryrefslogtreecommitdiff
path: root/pathd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-02-28 10:40:31 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:16 -0400
commitcb37cb336a2cca77bfbaf6b0cfab12e847e45623 (patch)
treedef5299d18d1d91fa9e28108c139ca6146e866ed /pathd
parent173786f6b5ef46df268faf0341f546d03ee90c2c (diff)
*: 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 'pathd')
-rw-r--r--pathd/path_main.c2
-rw-r--r--pathd/path_pcep_config.c2
-rw-r--r--pathd/path_zebra.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/pathd/path_main.c b/pathd/path_main.c
index 3d35b9f9b3..7d54123d7f 100644
--- a/pathd/path_main.c
+++ b/pathd/path_main.c
@@ -6,7 +6,7 @@
#include <lib/version.h>
#include "getopt.h"
-#include "thread.h"
+#include "event.h"
#include "command.h"
#include "log.h"
#include "memory.h"
diff --git a/pathd/path_pcep_config.c b/pathd/path_pcep_config.c
index 21d127bcfe..0e63b56f57 100644
--- a/pathd/path_pcep_config.c
+++ b/pathd/path_pcep_config.c
@@ -13,7 +13,7 @@
#include "pathd/path_pcep.h"
#include "pathd/path_pcep_config.h"
#include "pathd/path_pcep_debug.h"
-#include "thread.h"
+#include "event.h"
#define MAX_XPATH 256
#define MAX_FLOAT_LEN 22
diff --git a/pathd/path_zebra.c b/pathd/path_zebra.c
index efc016f750..28daac60bd 100644
--- a/pathd/path_zebra.c
+++ b/pathd/path_zebra.c
@@ -5,7 +5,7 @@
#include <zebra.h>
-#include "thread.h"
+#include "event.h"
#include "log.h"
#include "lib_errors.h"
#include "if.h"