Loading
thread: Change remaining direct accesses outside lib/thread to spdk_thread to helper functions
Use spdk_thread_get_last_tsc() and spdk_thread_get_stats() in unit tests for reactor. As a result, we can change one inclusion from spdk_internal/thread.h to spdk/thread.h. This is the same effort as spdk_poller. The following patches will move the definition of struct spdk_thread and enum spdk_thread_state from include/spdk_internal/thread.h to lib/thread/thread.c. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I24d4a52ecf885b6e7db749616ee1f95b82574dc5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7801 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> 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>