summaryrefslogtreecommitdiffstats
path: root/babeld
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 /babeld
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 'babeld')
-rw-r--r--babeld/babel_main.c2
-rw-r--r--babeld/kernel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index 0869c120a..de0c8230f 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -8,7 +8,7 @@ Copyright 2011 by Matthieu Boutier and Juliusz Chroboczek
#include "getopt.h"
#include "if.h"
#include "log.h"
-#include "thread.h"
+#include "event.h"
#include "privs.h"
#include "sigevent.h"
#include "lib/version.h"
diff --git a/babeld/kernel.c b/babeld/kernel.c
index f89fe268d..bbbb9676e 100644
--- a/babeld/kernel.c
+++ b/babeld/kernel.c
@@ -29,7 +29,7 @@ Copyright 2011, 2012 by Matthieu Boutier and Juliusz Chroboczek
#include "command.h"
#include "vty.h"
#include "memory.h"
-#include "thread.h"
+#include "event.h"
#include "nexthop.h"
#include "util.h"