OpenAFS CVS Commit: openafs/src/afs/LINUX by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 01 Jan 2002 13:49:18 EST


Update of /cvs/openafs/src/afs/LINUX
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/afs/LINUX

Modified Files:
	osi_sleep.c 
Log Message:
DELTA linux-osi-sleep-avoid-forgetting-events-20020101
AUTHOR chas@cmf.nrl.navy.mil

based on suggestion from Ted Anderson
"the changes make more sense
than the code as it currently exists.  the only think i am nervous 
about is the dontSleep delete.  while it makes more sense to just
not wakeup sleepers if none exist, i suppose its possible that
some bit of afs code wants acausal (wake before sleep) events.
that does seem quite unlikely.  just looking at the sleep on
solaris, it checks the seq number to get the next event not
a previous event.

i imported the changes and make the fixup in osi_stoplistener(). 
i dropped some of the silly syntax changes that junked up the
diff -- this makes it a bit easier to see what was changed. 
i just added an assert in afs_addevent for quality assurance
purposes."


--- DELTA config follows ---
linux-osi-sleep-avoid-forgetting-events-20020101 openafs/src/afs/LINUX/osi_sleep.c 1.7 1.8