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: Shuhei 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: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
f5313b5501
commit
9ff6238b88
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user