Changes committed to git://oss.sgi.com/kenj/pcp.git dev
src/include/pcp/impl.h | 2
src/libpcp/src/check-statics | 2
src/libpcp/src/context.c | 30 +++++--
src/libpcp/src/interp.c | 167 ++++++++++++++++++++++++-------------------
src/libpcp/src/logutil.c | 1
5 files changed, 121 insertions(+), 81 deletions(-)
commit 4c6700cca88b47556953c4b9aad947f741959259
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Jun 21 17:51:58 2014 +1000
libpcp - interp mode rework to make read cache thread safe
This commit addresses the problems Frank encountered when trying to run
pmwebd in multi-threaded mode.
Basically, the read cache used by interp mode with archive contexts
has been refactored. It used to be sort of global, which was just
plain wrong. The new implementation instantiates one read cache for
each archive context.
|