From 9ad79837b4d458c59b2f440dba88db8719fc200b Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 23 Nov 2007 15:59:35 -0800 Subject: [PATCH] Added more documentation on using libmemcached with threads. --- docs/libmemcached.pod | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/libmemcached.pod b/docs/libmemcached.pod index 9685e01e..510cd1e7 100755 --- 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 per process or thread. Without creating your own locking +structures you can no share a single C. You can though call +memcached_close(3) on a C and then use the resulting cloned +structure. + =head1 HOME To find out more information please check: -- 2.30.2