X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Flibmemcachedutil.pod;h=be410ecd1eaba8d03d73d73972aa4cf0d868ee22;hb=90a467967e3bc3a0508044e74ef9cf7b811ab095;hp=d5c6b485646f53fdeac4fa0452f0d044591dd330;hpb=f05cd5b77ca7b17440bfc7ed9f48f7c11d269767;p=awesomized%2Flibmemcached diff --git a/docs/libmemcachedutil.pod b/docs/libmemcachedutil.pod old mode 100755 new mode 100644 index d5c6b485..be410ecd --- a/docs/libmemcachedutil.pod +++ b/docs/libmemcachedutil.pod @@ -17,13 +17,12 @@ 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