handling memory
Posted: Wed Dec 21, 2005 12:00 am
Hi,
I'm stacked wth the development of an app. which makes use of shared memory on linux (direct memory access, as far as I understand).
I've uploaded a highlighted html-version:
http://www.geocities.com/ucho_trabajo/xml/main.html
And the c-source:
http://www.geocities.com/ucho_trabajo/xml/main.c
For if anyone wants to have a look at it. BTW my question is if anyone could point me to a good resource/book where I can learn to manage the memory, but not nothing about malloc or garbage collection.
If you take a look at the program above mentioned, you'll notice I'm stacked just after I've retrieved a memory segment address.
I wonder if anyone could point on how to apply complex data structures within a given region, I mean structures cotaining pointer to ints, chars o even to another structures.
Any comments would be much appreciated.
Kind Regards,
I'm stacked wth the development of an app. which makes use of shared memory on linux (direct memory access, as far as I understand).
I've uploaded a highlighted html-version:
http://www.geocities.com/ucho_trabajo/xml/main.html
And the c-source:
http://www.geocities.com/ucho_trabajo/xml/main.c
For if anyone wants to have a look at it. BTW my question is if anyone could point me to a good resource/book where I can learn to manage the memory, but not nothing about malloc or garbage collection.
If you take a look at the program above mentioned, you'll notice I'm stacked just after I've retrieved a memory segment address.
I wonder if anyone could point on how to apply complex data structures within a given region, I mean structures cotaining pointer to ints, chars o even to another structures.
Any comments would be much appreciated.
Kind Regards,