heapalloc Questions

4

Solved

I'm developing a general purpose library which uses Win32's HeapAlloc MSDN doesn't mention alignment guarantees for Win32's HeapAlloc, but I really need to know what alignment it uses, so I can av...
Nodule asked 10/5, 2010 at 19:44

2

Solved

I'm having code that, for various reasons, I'm trying to port from the C runtime to one that uses the Windows Heap API. I've encountered a problem: If I redirect the malloc/calloc/realloc/fre...
Pye asked 3/1, 2011 at 21:45

0

I have a situation in which malloc() returns NULL and sets errno to ENOMEM. But the CRT heap (which is growable) has plenty of memory to work with. At the time of malloc, my process memory is about...
Cuvette asked 3/12, 2011 at 19:17

1

Solved

Where are some good resources for looking at the pros/cons of different ways of implementing heap allocators? Resources touching on efficiency (fragmentation, throughput, etc) are preferred. I am N...
Inadmissible asked 1/6, 2010 at 0:13
1

© 2022 - 2024 — McMap. All rights reserved.