Is the Metal C heap serialized? I think the answer to my question is no from what I can gather (stepping through the malloc/free code with a debugger).
If not I suggest you document this fact as it may come as a surprise to some!
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
Pinned topic Metal C heap serialization
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-03T13:06:35Z at 2012-10-03T13:06:35Z by brataj
brataj 100000816311 Posts
DaveyC 120000JVF451 PostsACCEPTED ANSWER
Re: Metal C heap serialization2012-10-03T09:23:49Z in response to bratajI've got a concurrent hash map that works great in LE but the Metal C memory management is the point of failure. I think I may just port jemalloc and implement the atomics.
BTW, I think it was a mistake to implement such a light runtime for a systems programming environment! We multi-task in systems programming...