Skip to content

kernel:the API of k_mem_pool_alloc need try again to -EAGAIN[bug] #6757

@Likailiu

Description

@Likailiu

the API of k_mem_pool_alloc should handle the -EAGAIN which is return value of pool_alloc.
at 271 line in mempool.c comments" -EAGAIN isn't for,propagation to the caller, it's to tell the loop in k_mem_pool_alloc() to try again synchronously."but the k_mem_pool_alloc does not handle loop.
by xuemingxing .xuemingxing@zte.com.cn

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions