OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-180-g4163393
Gerrit Code Review
gerrit@openafs.org
Thu, 30 Sep 2010 06:09:50 -0700 (PDT)
The following commit has been merged in the master branch:
commit a3c7d9ee037c85297fd2b1932d47c40b64130676
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Sep 28 23:48:50 2010 +0100
rx: Add rx_NewThreadId function
The fileserver and the fsync server were locking an internal RX
mutex, and incrementing an internal counter in order to obtain fake
pthread thread IDs. Instead of letting them muck around in the
internals of RX, provide an API that can be called to obtain a
ThreadId counter, and use that API throughout the code.
Change-Id: I68f41d1486cdafeb757da2c0df899ae1ca2b2bfc
Reviewed-on: http://gerrit.openafs.org/2859
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/libafsrpc/afsrpc.def | 1 +
src/rx/rx.c | 2 +-
src/rx/rx_globals.h | 3 ---
src/rx/rx_prototypes.h | 1 +
src/rx/rx_pthread.c | 18 +++++++++++-------
src/viced/viced.c | 6 ++----
src/vol/fssync-server.c | 4 +---
7 files changed, 17 insertions(+), 18 deletions(-)
--
OpenAFS Master Repository