accel_perf: call spdk_thread_exit()
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id93c64a5eda13b21d36bc2006f078a7df76d0e56 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15502 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
This commit is contained in:
parent
dedc926239
commit
0e7821e99d
@ -228,6 +228,7 @@ unregister_worker(void *arg1)
|
||||
|
||||
free(worker->task_base);
|
||||
spdk_put_io_channel(worker->ch);
|
||||
spdk_thread_exit(spdk_get_thread());
|
||||
pthread_mutex_lock(&g_workers_lock);
|
||||
assert(g_num_workers >= 1);
|
||||
if (--g_num_workers == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user