File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ Thread Resource Pools
8585A small subset of kernel APIs, invoked as system calls, require heap memory
8686allocations. This memory is used only by the kernel and is not accessible
8787directly 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
9292The APIs which use resource pools are as follows, with any alternatives
9393noted for users who do not want heap allocations within their application:
You can’t perform that action at this time.
0 commit comments