summaryrefslogtreecommitdiffstats
path: root/pathd
diff options
context:
space:
mode:
authorJavier Garcia <javier.garcia@voltanet.io>2021-01-19 11:42:48 +0100
committerJavier Garcia <javier.garcia@voltanet.io>2021-01-19 11:42:48 +0100
commit5ffdc11eda7718224bc07e82b0ff41bd723c2867 (patch)
tree99d64145853420d6b43c2fdc8f6f0b52e5dc0bdf /pathd
parentMerge pull request #7790 from mobash-rasool/ospfv3-max-path (diff)
downloadfrr-5ffdc11eda7718224bc07e82b0ff41bd723c2867.tar.xz
frr-5ffdc11eda7718224bc07e82b0ff41bd723c2867.zip
pathd: add meaningful names to threads
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd')
-rw-r--r--pathd/path_pcep_controller.c2
-rw-r--r--pathd/path_pcep_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pathd/path_pcep_controller.c b/pathd/path_pcep_controller.c
index 255503b45..f4871a4d8 100644
--- a/pathd/path_pcep_controller.c
+++ b/pathd/path_pcep_controller.c
@@ -185,7 +185,7 @@ int pcep_ctrl_initialize(struct thread_master *main_thread,
PCEP_DEBUG("Initializing pcep module controller");
/* Create and start the FRR pthread */
- *fpt = frr_pthread_new(&attr, "PCEP thread", "pcep");
+ *fpt = frr_pthread_new(&attr, "PCEP thread", "pcep_controller");
if (*fpt == NULL) {
flog_err(EC_PATH_SYSTEM_CALL,
"failed to initialize PCEP thread");
diff --git a/pathd/path_pcep_lib.c b/pathd/path_pcep_lib.c
index fc72be897..bb6bfb133 100644
--- a/pathd/path_pcep_lib.c
+++ b/pathd/path_pcep_lib.c
@@ -285,7 +285,7 @@ int pcep_lib_pthread_create_cb(pthread_t *thread_id, const pthread_attr_t *attr,
.start = pcep_lib_pthread_start_passthrough,
.stop = pcep_lib_pthread_stop_cb};
struct frr_pthread *fpt =
- frr_pthread_new(&fpt_attr, thread_name, "pcep");
+ frr_pthread_new(&fpt_attr, thread_name, "pcep_lib");
if (fpt == NULL) {
return 1;
}