summaryrefslogtreecommitdiff
path: root/pymemcache/pool.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow the pool lock to be specializedJoshua Harlow2015-04-161-2/+6
| | | | | | | | It can be quite useful to allow the lock that the pool uses to be specified to be something other than the default threading lock class/type. This can be especially useful when eventlet (or gevent or other) are used which have there own special lock type that connects into there event-loop.
* Run 'after_remove' callback outside of lockJoshua Harlow2015-04-151-9/+15
| | | | | | | Avoid holding the pool lock while calling into the 'after_remove' callback to ensure that no kind of deadlock is likely to occur (say if the callback calls back into the pool).
* Fix/remove extra newlineJoshua Harlow2015-04-141-2/+1
|
* Remove useless returnJoshua Harlow2015-04-141-2/+0
|
* Create a pooled client classJoshua Harlow2015-04-141-0/+107
- Add a object pool that can create clients in a thread safe manner (and release and destroy them as/when needed).