summaryrefslogtreecommitdiffstats
path: root/src/vlib/threads.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-10-06 14:08:16 -0400
committerDave Barach <dave@barachs.net>2020-10-06 15:22:48 -0400
commitab1a50cf7407e31097b550226c2b6954d6371bea (patch)
tree5c9c9b097aee611d1b1c8728d388e5392d1bdd32 /src/vlib/threads.c
parentc0b195450b31f7092834c0f14a27ca929faf8bca (diff)
misc: add xxx_not_inline
vlib_main_t *vlib_get_main_not_inline(void) vlib_thread_main_t *vlib_get_thread_main_not_inline(void) elog_main_t *vlib_get_elog_main_not_inline() Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I6de306d567283ad28ef34c9be0cf27452aecbf6c
Diffstat (limited to 'src/vlib/threads.c')
-rw-r--r--src/vlib/threads.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index ecca7e3ea52..64af8a0d617 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -2010,6 +2010,12 @@ VLIB_CLI_COMMAND (f_command, static) =
};
/* *INDENT-ON* */
+vlib_thread_main_t *
+vlib_get_thread_main_not_inline (void)
+{
+ return vlib_get_thread_main ();
+}
+
/*
* fd.io coding-style-patch-verification: ON
*