Spdk/lib/thread
Shuhei Matsumoto 84ec998976 thread: Check if timed poller is expired first in iteration of thread_poll()
There will be no issue even if time poller is unregistered or paused
after it is expired. The iteration is stopped anyway after the head poller
is found not to be expired.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I2b394b8b517930a6630dd31f59fcaea12eb80572
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7662
Community-CI: Mellanox Build Bot
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>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2021-05-13 10:03:44 +00:00
..
Makefile thread: Add SPDK internal APIs spdk_thread_get_first/next_active/timed/paused_poller() 2021-05-13 10:03:44 +00:00
spdk_thread.map thread: Add SPDK internal APIs spdk_thread_get_first/next_active/timed/paused_poller() 2021-05-13 10:03:44 +00:00
thread.c thread: Check if timed poller is expired first in iteration of thread_poll() 2021-05-13 10:03:44 +00:00