OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-12-g76fdaba

Gerrit Code Review gerrit@openafs.org
Sat, 22 Dec 2012 21:50:55 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 76fdabaa5accd1eb28eb2d100091dcfe496e8ddd
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Dec 19 09:31:06 2012 -0500

    Windows: Wait for all worker threads to exit
    
    The signalling mechanism for waking and shutting down worker threads
    relies upon a per-queue event.  Therefore it is not guaranteed that
    the worker thread that AFSShutdown*Thread() is attempting to wait
    for is in fact the thread that will be woken and exit.  Modify the
    code to loop waking threads until the one that is being waited for
    does in fact exit.
    
    Subsequent calls to AFSShutdown*Thread() will bypass the wait if
    the thread has already exited.
    
    Reviewed-on: http://gerrit.openafs.org/8783
    Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 1726aec2b2291c4b1e89e21fa0f5a27318671a6f)
    
    Change-Id: I0e4c96908cec4ea8a71bd44ebfa70168aca1ce1b
    Reviewed-on: http://gerrit.openafs.org/8821
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp |   88 ++++++++++++++++-------------
 1 files changed, 49 insertions(+), 39 deletions(-)

-- 
OpenAFS Master Repository