|
-
November 30th, 2004, 09:48 PM
#4
Re: Implementing malloc...
 Originally Posted by YourSurrogateGod
do I need to make some special system call or something? Kind confused right now
If you want to use virtual memory for your customize heap, you need to use system calls. For example, in Windows, you can use VirtualAlloc(), VirtualFree(), etc. If not, the easiest is to use a block of global memory, in which you may have to increase the stack size.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|