Jump to ID:
QNX Operating System

Project Home




Project Info
Forum Topic - malloc and mmap: Page 1 of 9 (9 Items)
malloc and mmap  
The doc on _amblksiz says memory request larger then 32KB are services by mmap.  

Does that mean if the heap has 1Meg free and the code does a malloc of 64K will not get the memory from the heap?

I assume if multiple processes running on multiple cores do mmap() simultaneously to obtain memory that there is some 
sort of locking happening inside proc.