Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2421 Discussions

When MEMORY POOL could be officially released?

G__KEVIN
Beginner
291 Views

Memory pool is very useful. However, to use memory pool, I've to define TBB_PREVIEW_MEMORY_POOL, which makes me fear that it could have bugs.

So when MEMORY POOL could be officially released?

 

0 Kudos
4 Replies
Nikita_P_Intel
Employee
291 Views

Hi Kevin,

Preview macro doesn't mean, that the feature has bugs. It means that the feature is in a stage of collecting feedback from the users, so interfaces, as well as implementation, can be changed.

However, recently, due to the number of requests, we have started work for Memory Pools productization. I can't say the exact dates, but we are working on it.

G__KEVIN
Beginner
291 Views

Thanks for the update.

(Come on, dude. Every pro knows what PREVIEW means ^_^)

Nikita_P_Intel
Employee
291 Views

Then, as a pro user, maybe you can give us feedback about what can be improved in Memory Pools API? We will consider it during the productization.

Thanks, Nikita

G__KEVIN
Beginner
291 Views

Mem alloc/free is always a big headache for c/c++ lang. One of the major pro of the pool concept is that once you do memory alloc on a pool, you can free the pool as a whole, you don't need free memory piece by piece, which reduces the chance mem leak/crash, in case your forget to free or you free duplicately. Thanks.

Reply