pcp
[Top] [All Lists]

pcp updates - thread safe improvements for archive contexts

To: pcp@xxxxxxxxxxx
Subject: pcp updates - thread safe improvements for archive contexts
From: kenj@xxxxxxxxxxx (Ken McDonell)
Date: Sat, 21 Jun 2014 17:59:59 +1000 (EST)
Delivered-to: pcp@xxxxxxxxxxx
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.

<Prev in Thread] Current Thread [Next in Thread>