Hi, I want to use a pool or pools to replace some malloc calls in a library i'm working with. I want to avoid the constant malloc/free penalty. I intend to just toss some defines in to call the pools api whenever malloc/free is called.
My application is multithreaded. Am I correct that if I use pools with an APR I built on linux using -enable-threads, that they AREN'T inherently thread safe? I still need to mutex lock around.... ??? which pool calls? I assume it's fine if I use normal pthread calls, not the APR threads model... though I'm free to use either really. thank you. I found a few messages about this here re. pools and inherent thread safety, but would like to confirm my understanding is correct. thank you! Stephen __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
