First pass at better signal handling:
authorNickolai Zeldovich <kolya@mit.edu>
Fri, 1 Feb 2002 20:29:59 +0000 (20:29 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Fri, 1 Feb 2002 20:29:59 +0000 (20:29 +0000)
commit7b8d569f42d9906ef0ed0b11f66962e00ad04cc6
tree18871551d9cbdf30a42335014aeaf36e0827dbd3
parent7573d5ed14df78d619a035ca50981f7ae3bfd5b6
First pass at better signal handling:

  -- Add afs_osi_SleepSig, which returns EINTR when interrupted by signal.
  -- Similar CV_WAIT_SIG for Rx code.
  -- Implement afs_osi_SleepSig and CV_WAIT_SIG for Linux, Solaris.
  -- Use afs_osi_SleepSig in afs_{UFS,Mem}Read, allowing user to interrupt
     an AFS read if it's being handled by background daemon.
  -- Balance the number of open & close braces in CV_TIMEDWAIT macros,
     even though noone uses them.
  -- Untangle parts of the macro forest by moving some of the Rx CV code
     into rx_kmutex.c.
31 files changed:
src/afs/AIX/osi_sleep.c
src/afs/DARWIN/osi_sleep.c
src/afs/DUX/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/NBSD/osi_sleep.c
src/afs/SOLARIS/osi_sleep.c
src/afs/UKERNEL/afs_usrops.c
src/afs/VNOPS/afs_vnop_read.c
src/libafs/Makefile.common.in
src/libuafs/Makefile.common.in
src/rx/AIX/rx_kmutex.c [new file with mode: 0644]
src/rx/DARWIN/rx_kmutex.c [new file with mode: 0644]
src/rx/DARWIN/rx_kmutex.h
src/rx/DUX/rx_kmutex.c [new file with mode: 0644]
src/rx/DUX/rx_kmutex.h
src/rx/FBSD/rx_kmutex.c [new file with mode: 0644]
src/rx/FBSD/rx_kmutex.h
src/rx/HPUX/rx_kmutex.c [new file with mode: 0644]
src/rx/IRIX/rx_kmutex.c [new file with mode: 0644]
src/rx/LINUX/rx_kmutex.c [new file with mode: 0644]
src/rx/LINUX/rx_kmutex.h
src/rx/Makefile.in
src/rx/NBSD/rx_kmutex.c [new file with mode: 0644]
src/rx/NBSD/rx_kmutex.h
src/rx/SOLARIS/rx_kmutex.c [new file with mode: 0644]
src/rx/SOLARIS/rx_kmutex.h
src/rx/UKERNEL/rx_kmutex.c [new file with mode: 0644]
src/rx/UKERNEL/rx_kmutex.h