Skip to content

posix: Memory is not returned to mempool when a pthread complete its execution #8717

@punitvara

Description

@punitvara

Currently thread object is allocated space through mempool.
we are not returning allocated memory back to pool when thread exits.

Testcase to Reproduce

create and delete multiple threads using pthread_create, You will run out of slace soon.

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

Relationships

None yet

Development

No branches or pull requests

Issue actions