You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by st...@apache.org on 2003/09/26 20:08:39 UTC
cvs commit: apr/include apr_pools.h
striker 2003/09/26 11:08:39
Modified: include apr_pools.h
Log:
* include/apr_pools.h
(apr_pool_userdata_set): Update documentation.
Submitted by: Cliff Woolley
Revision Changes Path
1.105 +5 -2 apr/include/apr_pools.h
Index: apr_pools.h
===================================================================
RCS file: /home/cvs/apr/include/apr_pools.h,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- apr_pools.h 3 Sep 2003 17:12:17 -0000 1.104
+++ apr_pools.h 26 Sep 2003 18:08:39 -0000 1.105
@@ -461,8 +461,11 @@
* Users of APR must take EXTREME care when choosing a key to
* use for their data. It is possible to accidentally overwrite
* data by choosing a key that another part of the program is using
- * It is advised that steps are taken to ensure that a unique
- * key is used at all times.
+ * It is advised that steps are taken to ensure that unique keys are
+ * used for all of the userdata objects in a given pool at all times.
+ * Careful namespace prefixing of key names typically helps to ensure this
+ * uniqueness.
+ *
* @bug Specify how to ensure this uniqueness!
*/
APR_DECLARE(apr_status_t) apr_pool_userdata_set(