Skip to content

Commit 5eed832

Browse files
stephanosiofabiobaltieri
authored andcommitted
doc: memory-domain: Remove stale reference to k_mem_pool
This commit replaces the stale reference to `k_mem_pool` with `k_heap`. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent b8643cb commit 5eed832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/kernel/usermode/memory_domain.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ Thread Resource Pools
8585
A small subset of kernel APIs, invoked as system calls, require heap memory
8686
allocations. This memory is used only by the kernel and is not accessible
8787
directly by user mode. In order to use these system calls, invoking threads
88-
must assign themselves to a resource pool, which is a k_mem_pool object.
89-
Memory is drawn from a thread's resource pool using :c:func:`z_thread_malloc`
90-
and freed with :c:func:`k_free`.
88+
must assign themselves to a resource pool, which is a :c:struct:`k_heap`
89+
object. Memory is drawn from a thread's resource pool using
90+
:c:func:`z_thread_malloc` and freed with :c:func:`k_free`.
9191

9292
The APIs which use resource pools are as follows, with any alternatives
9393
noted for users who do not want heap allocations within their application:

0 commit comments

Comments
 (0)