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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 20 Jan 2002 03:46:32 EST


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

Modified Files:
      Tag: openafs-stable-1_2_x
	osi_sleep.c 
Log Message:
DELTA STABLE12-linux-osi-sleep-avoid-forgetting-events-20020120
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 for openafs-stable-1_2_x follows ---
STABLE12-linux-osi-sleep-avoid-forgetting-events-20020120 openafs/src/afs/LINUX/osi_sleep.c 1.6 1.6.4.1