Remove the prefix "spdk" from spdk_reactor_schedule_thread(), add spdk_reactor_thread_op() and spdk_reactor_thread_op_supported(). For SPDK_THREAD_OP_NEW, spdk_reactor_thread_op() calls _reactor_schedule_thread() and spdk_reactor_thread_op_supported() returns true. Then replace spdk_thread_lib_init() by spdk_thread_lib_init_ext() with spdk_reactor_thread_op() and spdk_reactor_thread_op_supported(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I232a3b2c6bcaf4d86b0dd3cefacd3e47eadda6d8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/968 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
app.c | ||
json_config.c | ||
Makefile | ||
reactor.c | ||
rpc.c | ||
subsystem.c |