Download presentation
Presentation is loading. Please wait.
Published byJocelin Dawson Modified over 8 years ago
1
CS 241 Discussion Section (02/02/2012)
2
MP2 Overview Task is simple Reimplement malloc(), calloc(), realloc() and free() A contest will be running soon There will be prizes !!
3
system call you need to know void* sbrk (intptr_t size) Increments the size of heap by size Returns a pointer to the newly allocated memory
4
TIME to CODE! In your svn folder, do an “svn update” We will be working in the ds/ds2 folder – This is a copy of the MP2 code. – This week, we’ll program up a solution to the MP!
5
Other Sources of Wisdom Many implementations and algorithms online… All work should be your own! Good Luck
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.