doc: Replace *_thread_resource_pool_assign with k_thread_heap_assign
Replace *_thread_resource_pool_assign() in the reference with the new k_thread_heap_assign() since both k_thread_resource_pool_assign() and z_thread_resource_pool_assign() has been removed prio to v2.5 (by the commitc770cab1a3
and3c2c1d85b0
respectively) along with the k_mem_pool API removal. For the resource pool inheritance test, the variables with "res_pool" string has been replaced by "heap_mem" to align with the documentation fix. No functionality has been changed. Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
This commit is contained in:
parent
6145ab537f
commit
a3e0f8c316
4 changed files with 13 additions and 13 deletions
|
@ -402,7 +402,7 @@ __syscall int k_thread_stack_space_get(const struct k_thread *thread,
|
|||
/**
|
||||
* @brief Assign the system heap as a thread's resource pool
|
||||
*
|
||||
* Similar to z_thread_resource_pool_assign(), but the thread will use
|
||||
* Similar to z_thread_heap_assign(), but the thread will use
|
||||
* the kernel heap to draw memory.
|
||||
*
|
||||
* Use with caution, as a malicious thread could perform DoS attacks on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue