provide afs_osi_TimedSleep
authorDerrick Brashear <shadow@dementia.org>
Thu, 4 Feb 2010 08:22:15 +0000 (03:22 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Feb 2010 18:50:11 +0000 (10:50 -0800)
commit6c628445ebc3203ddcb8167914d61ef3711380c7
tree9fb57d6ee3a22afc204e82489aaea96c04b02e3b
parent01d8b61c7f7a9b5bb7c38f62ae432986d2ef3bee
provide afs_osi_TimedSleep

this interface works how osi_Wait *should*, except on some platforms Wait
appears to wake up all waiters(!) by using a single wait channel in the
backend. rather than change that and risk problems, introduce an interface
using the same system of events we use for osi_Sleep

Change-Id: Ic91726b138bd2512282896ec48c542063ef000cf
Reviewed-on: http://gerrit.openafs.org/1233
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
12 files changed:
src/afs/AIX/osi_sleep.c
src/afs/DARWIN/osi_sleep.c
src/afs/FBSD/osi_sleep.c
src/afs/HPUX/osi_sleep.c
src/afs/IRIX/osi_sleep.c
src/afs/LINUX/osi_sleep.c
src/afs/LINUX24/osi_sleep.c
src/afs/NBSD/osi_sleep.c
src/afs/OBSD/osi_sleep.c
src/afs/SOLARIS/osi_sleep.c
src/afs/UKERNEL/afs_usrops.c
src/afs/afs_prototypes.h