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:
Shuhei Matsumoto 2021-05-06 23:33:09 +09:00 committed by Tomasz Zawadzki
parent f5313b5501
commit 9ff6238b88
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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;