Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

FEAT: Support for multithreaded region allocation #181

Closed
KFilipek opened this issue May 9, 2022 · 1 comment
Closed

FEAT: Support for multithreaded region allocation #181

KFilipek opened this issue May 9, 2022 · 1 comment
Labels
Type: Feature New feature or request

Comments

@KFilipek
Copy link
Contributor

KFilipek commented May 9, 2022

FEAT: Support for multithreading in region allocator

Rationale

Developer have to keep thread-safety, safer is move this responsibility to the library.

Description

For now, allocator design doesn't support multithreading for adding, removing. Using iterators during allocate/free causes undefined behavior.
Affected API functions:
pmemstream_region_allocate
pmemstream_region_free
and all region iteration functions.

API Changes

There is no need to change API.

Implementation details

N/A

Meta

@KFilipek KFilipek added the Type: Feature New feature or request label May 9, 2022
@lukaszstolarczuk
Copy link
Member

covered by #74

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants