This is the stackable memory that the Samba TNG guys put together. This is very impressive IMHO. I believe this is the way to move forward with APR's memory requirements. I would like to commit this to APR to get people hacking on this. To that end, unless somebody objects, I will commit this on Monday morning. Once it is committed, I expect people can use this to re-implement pools (same semantics, same API, just different under the covers), and shared memory.
Sander sent me a test program that he wrote, but I can't find it in my e-mail right now, hopefully Sander, you can re-send it to this list. Thanks. Of course, before I commit it, I will add all the headers and the Apache License, assuming the Samba guys don't object. Ryan > Hi Ryan, > > I got a message from Luke that you would be interested > in the stackable memory system we have thought up. > > The only thing is that I haven't been able to write up > a usage manual or anything, so a review of the source > will have to do. > > This is the latest (draft) version I have in my possession. > You will probably have to provide it with correct header > files to compile. I have hacked up a apr_stuff.h file > to get it to compile and check for syntax errors. > > Cc us when you post to apr-dev, because we can answer all > the questions that arise regarding this thingy :-) > > Sander
apr_memory_system.c
Description: Binary data
apr_memory_system.h
Description: Binary data
apr_stuff.h
Description: Binary data
