]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: cm_SyncOp waiting logic
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 10 Jul 2012 04:13:04 +0000 (00:13 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 11 Jul 2012 14:13:22 +0000 (07:13 -0700)
commitf70952a347dff39bd445f8361224e1c622a5b1cf
tree3c7fe909aa22ef9f3ba178406acd3f4514212578
parent80732b94ef8a8fd239d8f77d8e10f0d770f0ec24
Windows: cm_SyncOp waiting logic

Use interlocked increment and decrement to track the waiters
and use the wait queue itself to determine if there are waiters
instead of the CM_SCACHEFLAG_WAITING flag.

Change-Id: I9c570cb228d73253989932149346ecfc45804267
Reviewed-on: http://gerrit.openafs.org/7752
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_buf.c
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_dcache.c
src/WINNT/afsd/cm_scache.c