From: Brian Aker Date: Fri, 23 Nov 2007 23:59:35 +0000 (-0800) Subject: Added more documentation on using libmemcached with threads. X-Git-Tag: 0.11~12 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9ad79837b4d458c59b2f440dba88db8719fc200b;p=awesomized%2Flibmemcached Added more documentation on using libmemcached with threads. --- 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: