projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
52d5f8e
)
Added more documentation on using libmemcached with threads.
author
Brian Aker
<brian@tangent.org>
Fri, 23 Nov 2007 23:59:35 +0000
(15:59 -0800)
committer
Brian Aker
<brian@tangent.org>
Fri, 23 Nov 2007 23:59:35 +0000
(15:59 -0800)
docs/libmemcached.pod
patch
|
blob
|
history
diff --git
a/docs/libmemcached.pod
b/docs/libmemcached.pod
index 9685e01e88614ee309c1c3dbf04332678df26691..510cd1e7200f58a274cefcd975fb6574bf5c51ad 100755
(executable)
--- a/
docs/libmemcached.pod
+++ b/
docs/libmemcached.pod
@@
-51,6
+51,14
@@
Some features of the library must be enabled through memcached_behavior_set().
Hope you enjoy it!
+=head1 THREADS AND PROCESSES
+
+When using threads or forked processes it is important to keep an instance
+of C<memcached_st> per process or thread. Without creating your own locking
+structures you can no share a single C<memcached_st>. You can though call
+memcached_close(3) on a C<memcached_st> and then use the resulting cloned
+structure.
+
=head1 HOME
To find out more information please check: