aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.wmem
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-05-16 23:38:31 +0000
committerEvan Huus <eapache@gmail.com>2013-05-16 23:38:31 +0000
commitf2bdbd2b32e2f788f9d27a4646129c8e25bd7193 (patch)
treee68983a81caa3e2f9197ff09ee421570ca63c6bd /doc/README.wmem
parent4b6ff3d829cb30f7ada9a85fdd2fe2653b41378c (diff)
Use a readable name for the wmem callback test. Warn that reallocing memory
for which a callback is registered is also a fairly stupid thing to do. svn path=/trunk/; revision=49354
Diffstat (limited to 'doc/README.wmem')
-rw-r--r--doc/README.wmem7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/README.wmem b/doc/README.wmem
index 7d04c6fffe..31ebf1bf11 100644
--- a/doc/README.wmem
+++ b/doc/README.wmem
@@ -133,9 +133,10 @@ appropriate wmem pool.
Also note that callback calling order is not defined, you cannot rely on a
certain callback being called before or after another.
-WARNING: Manually freeing memory with wmem_free will NOT trigger any callbacks.
- It is an error to call wmem_free on memory if you have a callback
- registered to deal with the contents of a that memory.
+WARNING: Manually freeing or moving memory (with wmem_free or wmem_realloc)
+ will NOT trigger any callbacks. It is an error to call either of
+ those functions on memory if you have a callback registered to deal
+ with the contents of that memory.
3. Usage for Producers