CHANGELOG: Update thread section

Change-Id: Ie8f167e8ea9a72bfb559f644c6556c66ec0256b4
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452689
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Ben Walker 2019-04-30 09:52:23 -07:00
parent 0017ba8b4b
commit 13c416c027

View File

@ -42,11 +42,22 @@ strip_size. The strip_size rpc param is deprecated.
### thread ### thread
Added spdk_thread_has_pollers() function to verify if there are Added spdk_thread_has_pollers() function to verify if there are any registered
any registered pollers to be run on the thread. pollers to be run on the thread. Added spdk_thread_is_idle() function to check
if there are any scheduled operations to be performed on the thread at given
time.
Added spdk_thread_is_idle() function to check if there are any scheduled operations spdk_thread_create() now takes an optional CPU affinity mask that is passed to
to be performed on the thread at given time. the scheduler.
spdk_thread_lib_init() now takes an optional context size. For each thread
created, an additional region of memory of this size will be allocated. A
pointer to this region of memory can be obtained by calling
spdk_thread_get_ctx(). The inverse operation is also available via
spdk_thread_get_from_ctx().
spdk_thread_poll() now optionally accepts the current time, in ticks. This can
be used to avoid some calls to spdk_get_ticks() internally.
spdk_app_start() now only accepts a single context argument. spdk_app_start() now only accepts a single context argument.