Commit 9ff6238b authored by Shuhei Matsumoto's avatar Shuhei Matsumoto Committed by Tomasz Zawadzki
Browse files

event/scheduler: Include not spdk_internal/thread.h but spdk/thread.h



It is better if the internal of poller or thread is not accessed
outside lib/thread.

Signed-off-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I80d488a111fd9a67a0da32d1e63695ce5a6bcb4c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7776


Community-CI: Mellanox Build Bot
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent f5313b55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#include "spdk/likely.h"

#include "spdk_internal/event.h"
#include "spdk_internal/thread.h"
#include "spdk/thread.h"

#include "spdk/log.h"
#include "spdk/env.h"
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
#include "spdk/log.h"
#include "spdk/env.h"

#include "spdk_internal/thread.h"
#include "spdk/thread.h"
#include "spdk_internal/event.h"

static uint32_t g_next_lcore = SPDK_ENV_LCORE_ID_ANY;