X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Flibmemcachedutil.pod;h=fd2e4f6274bef2564f705e2555b6327c15d34ae6;hb=9c7e4d791a127f8ae46aaddc531319da1f34b5ba;hp=d5c6b485646f53fdeac4fa0452f0d044591dd330;hpb=24342b1919b6aaa26c33aae50974b449f95a737a;p=m6w6%2Flibmemcached diff --git a/docs/libmemcachedutil.pod b/docs/libmemcachedutil.pod index d5c6b485..fd2e4f62 100644 --- a/docs/libmemcachedutil.pod +++ b/docs/libmemcachedutil.pod @@ -17,22 +17,21 @@ C Client Library containing utility functions for libmemcached (libmemcachedutil B is a small and thread-safe client library that provides extra functionality built on top of B. -=head1 THREADS AND PROCESSES +=head1 THREADS -When using threads or forked processes it is important to keep an instance -of C per process or thread. Without creating your own locking -structures you can not share a single C. You can though call -memcached_quit(3) on a C and then use the resulting cloned -structure. +Do not try to access an instance of C from multiple threads +at the same time. If you want to access memcached from multiple threads +you should either clone the C, or use the memcached pool +implementation. see memcached_pool_create(3). =head1 HOME To find out more information please check: -L +L =head1 AUTHOR -Trond Norbye, Etrond.norbye@sun.comE +Trond Norbye, Etrond.norbye@gmail.comE =head1 SEE ALSO