Browse Source

added idea comment for a cbuf pool to not always reinitialize these all the time...

release0.1.5
Georg Hopp 12 years ago
parent
commit
1563d3e87f
  1. 10
      include/cbufpool.h
  2. 10
      src/cbufpool.c

10
include/cbufpool.h

@ -0,0 +1,10 @@
/**
* As the initializations of cbufs is complicated and time consuming
* with all this shared memory initialization stuff and each cbuf
* always is the same (at least for this application) we don't free
* them after they are not used anymore.
* Instead we store the in this pool and reuse then the next time
* they are needed.
*
* Well thats the idea of this.
*/

10
src/cbufpool.c

@ -0,0 +1,10 @@
/**
* As the initializations of cbufs is complicated and time consuming
* with all this shared memory initialization stuff and each cbuf
* always is the same (at least for this application) we don't free
* them after they are not used anymore.
* Instead we store the in this pool and reuse then the next time
* they are needed.
*
* Well thats the idea of this.
*/
Loading…
Cancel
Save