From: Derrick Brashear Date: Tue, 21 Jul 2009 17:14:57 +0000 (-0400) Subject: AFSOP_STOP_RXEVENT sometimes set without wakeup X-Git-Tag: openafs-stable-1_4_12pre1~66 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b92a870160880134d4d0ff302bf10967308b7b1e;p=packages%2Fo%2Fopenafs.git AFSOP_STOP_RXEVENT sometimes set without wakeup 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 Tested-by: Simon Wilkinson Reviewed-by: Russ Allbery (cherry picked from commit ba27f1b3cb08db66e184682b30d60ff6fc4ce43e) Change-Id: If2ac96e7c793c8d4c93492625f006abefac634d1 Reviewed-on: http://gerrit.openafs.org/934 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_cell.c b/src/afs/afs_cell.c index be5f97edf..02b5257bf 100644 --- a/src/afs/afs_cell.c +++ b/src/afs/afs_cell.c @@ -55,6 +55,7 @@ afs_StopAFSDB() } else { afsdb_handler_shutdown = 1; afs_termState = AFSOP_STOP_RXEVENT; + afs_osi_Wakeup(&afs_termState); } }