summaryrefslogtreecommitdiff
path: root/ripd
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 /ripd
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 'ripd')
-rw-r--r--ripd/rip_interface.c2
-rw-r--r--ripd/rip_main.c2
-rw-r--r--ripd/rip_peer.c2
-rw-r--r--ripd/ripd.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 3e62321725..309c18f9c2 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -14,7 +14,7 @@
#include "table.h"
#include "log.h"
#include "stream.h"
-#include "thread.h"
+#include "event.h"
#include "zclient.h"
#include "filter.h"
#include "sockopt.h"
diff --git a/ripd/rip_main.c b/ripd/rip_main.c
index e26424adeb..b6166b14c8 100644
--- a/ripd/rip_main.c
+++ b/ripd/rip_main.c
@@ -7,7 +7,7 @@
#include <lib/version.h>
#include "getopt.h"
-#include "thread.h"
+#include "event.h"
#include "command.h"
#include "memory.h"
#include "prefix.h"
diff --git a/ripd/rip_peer.c b/ripd/rip_peer.c
index a3cba598d2..85cd971509 100644
--- a/ripd/rip_peer.c
+++ b/ripd/rip_peer.c
@@ -9,7 +9,7 @@
#include "prefix.h"
#include "command.h"
#include "linklist.h"
-#include "thread.h"
+#include "event.h"
#include "memory.h"
#include "ripd/ripd.h"
diff --git a/ripd/ripd.c b/ripd/ripd.c
index bde7e858f1..8b21af92ff 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -11,7 +11,7 @@
#include "command.h"
#include "prefix.h"
#include "table.h"
-#include "thread.h"
+#include "event.h"
#include "memory.h"
#include "log.h"
#include "stream.h"