Spdk/lib/thread
Shuhei Matsumoto f5313b5501 thread: Factor out removing timed poller from list into a helper function
The following patches will update the cache to the closest timed
poller when removing it from the list. To do it easier, factor out
the operation to remove a timed poller from timed_pollers list into
a helper function.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I25016d86117b240a2651d1f06e23bea0342211f1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7719
Community-CI: Mellanox Build Bot
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>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.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: Factor out removing timed poller from list into a helper function 2021-05-13 10:03:44 +00:00