+4
−0
Loading
If thread_exit() returns early, because of pending messages, active pollers etc., it won't be called again if the thread is in interrupt mode. It is only called once, from a message sent in spdk_thread_exit(). Send the message again if thread_exit() doesn't change the state to SPDK_THREAD_STATE_EXITED. Fixes #3340 Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I240d6b5e2a5ea866a494bf23670f1c0d75240a43 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22926 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>