Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't speak to multiple users of sbrk, I assume that would fail. That's a property of sbrk though, not of malloc (or memory allocation in general); on Windows, you can have as many implementors of malloc as you want, so long as malloc/free calls happen to the same implementor. Each malloc implementor just asks for anonymous backing pages for their own heaps (via VirtualAlloc/mmap).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: