70ec72871e
This is a preparation to support voluntary thread termination by calling spdk_thread_exit(). Change spdk_thread_exit() to return -EINVAL if the thread is already marked as exited. This will be helpful to detect wrong call sequence of voluntary thread termination. Besides, update reactor shutdown and unit test framework shutdown to incorporate this change accordingly. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I2296c61e273bf4d9580656dcbc2da0e8a8f3bcf7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/671 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |