Commit fb8cbe8c authored by Liang Yan's avatar Liang Yan Committed by Jim Harris
Browse files

lib/event: change reactor thread name



Change the reactor name, replacing space with underline.
Since Linux system didn't recommend file name with space.
And when reactor crashed, the core dump file name has space in it.

Change-Id: Iba36ba7903c95db09a9decbc023a01e5e6ab18b4
Signed-off-by: default avatarLiang Yan <liang.z.yan@intel.com>
parent 58ca5c52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ static void set_reactor_thread_name(void)
{
	char thread_name[16];

	snprintf(thread_name, sizeof(thread_name), "reactor %d",
	snprintf(thread_name, sizeof(thread_name), "reactor_%d",
		 rte_lcore_id());

#if defined(__linux__)