- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm developing a multi-threaded application in C using pthreads on Linux but I need to avoid heap contention when allocating memory, hence I want to use the scalable memory allocation routines provided by TBB, namely malloc, realloc, calloc and free.
Before I switch however, I need to know will those routines work with pthreads and are the library functions memmove/memcopy compatible with these TBB routines too?
Can anyone help answer this?
Many thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it should work.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page