Changeset 364 for pjproject/trunk/pjlib/include/pj/config.h
- Timestamp:
- Mar 30, 2006 3:56:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/config.h
r354 r364 209 209 #endif 210 210 211 /** 212 * Pool debugging. 211 212 /** 213 * If pool debugging is used, then each memory allocation from the pool 214 * will call malloc(), and pool will release all memory chunks when it 215 * is destroyed. This works better when memory verification programs 216 * such as Rational Purify is used. 213 217 * 214 218 * Default: 0 … … 217 221 # define PJ_POOL_DEBUG 0 218 222 #endif 223 224 225 /** 226 * Do we have alternate pool implementation? 227 * 228 * Default: 0 229 */ 230 #ifndef PJ_HAS_POOL_ALT_API 231 # define PJ_HAS_POOL_ALT_API PJ_POOL_DEBUG 232 #endif 233 219 234 220 235 /** … … 261 276 # endif 262 277 #endif 278 279 280 /** 281 * If PJ_IOQUEUE_HAS_SAFE_UNREG macro is defined, then ioqueue will do more 282 * things to ensure thread safety of handle unregistration operation by 283 * employing reference counter to each handle. 284 * 285 * In addition, the ioqueue will preallocate memory for the handles, 286 * according to the maximum number of handles that is specified during 287 * ioqueue creation. 288 * 289 * All applications would normally want this enabled, but you may disable 290 * this if: 291 * - there is no dynamic unregistration to all ioqueues. 292 * - there is no threading, or there is no preemptive multitasking. 293 * 294 * Default: 1 295 */ 296 #ifndef PJ_IOQUEUE_HAS_SAFE_UNREG 297 # define PJ_IOQUEUE_HAS_SAFE_UNREG 1 298 #endif 299 300 301 /** 302 * When safe unregistration (PJ_IOQUEUE_HAS_SAFE_UNREG) is configured in 303 * ioqueue, the PJ_IOQUEUE_KEY_FREE_DELAY macro specifies how long the 304 * ioqueue key is kept in closing state before it can be reused. 305 * 306 * The value is in miliseconds. 307 * 308 * Default: 500 msec. 309 */ 310 #ifndef PJ_IOQUEUE_KEY_FREE_DELAY 311 # define PJ_IOQUEUE_KEY_FREE_DELAY 500 312 #endif 313 263 314 264 315 /**
Note: See TracChangeset
for help on using the changeset viewer.