X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Flibmemcachedutil.pod;h=be410ecd1eaba8d03d73d73972aa4cf0d868ee22;hb=8d2e59120724923d1ebe75112d73ef03181e0e67;hp=d5c6b485646f53fdeac4fa0452f0d044591dd330;hpb=24342b1919b6aaa26c33aae50974b449f95a737a;p=awesomized%2Flibmemcached diff --git a/docs/libmemcachedutil.pod b/docs/libmemcachedutil.pod index d5c6b485..be410ecd 100644 --- 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