git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f149a3c
)
AFSOP_STOP_RXEVENT sometimes set without wakeup
author
Derrick Brashear
<shadow@dementia.org>
Tue, 21 Jul 2009 17:14:57 +0000 (13:14 -0400)
committer
Russ Allbery
<rra@stanford.edu>
Tue, 21 Jul 2009 18:49:53 +0000 (11:49 -0700)
make sure when AFSOP_STOP_RXEVENT is set, a wakeup is sent on the
variable so waiters realize it's the case
Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/162
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/afs/afs_cell.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_cell.c
b/src/afs/afs_cell.c
index
b7553cb
..
6c153c7
100644
(file)
--- a/
src/afs/afs_cell.c
+++ b/
src/afs/afs_cell.c
@@
-59,6
+59,7
@@
afs_StopAFSDB(void)
} else {
afsdb_handler_shutdown = 1;
afs_termState = AFSOP_STOP_RXEVENT;
+ afs_osi_Wakeup(&afs_termState);
}
}