are there any good memory pool libraries?
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 06/30/04
- Next message: carabas_barabas: "Too many moving parts"
- Previous message: Vikram: "Re: automatic logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jun 2004 13:35:10 GMT
Hi!
I need to write a "sub-system" that would work in multi-threaded
enviroment in separate thread. It uses dynamic memory allocation, but
there can be situations where this thread shall immidiately exit. The
problem is that during the exit it shall somehow release all memory
allocated for its purpose so far. Keeping track of all pointers is
cumbersome. Much more attractive seems to be the idea of having memory
pool and allocating all of the memory inside that pool. Then at exit I
would simply deallocate whole pool. Is there any good library that
implements that?
TIA
Andrei
- Next message: carabas_barabas: "Too many moving parts"
- Previous message: Vikram: "Re: automatic logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|