44ab133f70
As we have done for SPDK reactor, SPDK thread termination needs communication among SPDK threads. So At application shutdown, create the while loop until all threads are destroyed and in the loop, check each thread is exited, and destroy the thread if exited or mark it as exiting and retry checking after traversing other threads. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I7a1008b95f3303de17449d574e917eb47cbe54b5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2660 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
ioat | ||
nvme | ||
nvmf | ||
sock | ||
vmd | ||
Makefile |