attilio     2007-05-31 09:14:48 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sx.c 
    sys/sys              sx.h 
    sys/vm               vm_map.c 
  Log:
  Add functions sx_xlock_sig() and sx_slock_sig().
  These functions are intended to do the same actions of sx_xlock() and
  sx_slock() but with the difference to perform an interruptible sleep, so
  that sleep can be interrupted by external events.
  In order to support these new featueres, some code renstruction is needed,
  but external API won't be affected at all.
  
  Note: use "void" cast for "int" returning functions in order to avoid tools
  like Coverity prevents to whine.
  
  Requested by: rwatson
  Tested by: rwatson
  Reviewed by: jhb
  Approved by: jeff (mentor)
  
  Revision  Changes    Path
  1.53      +62 -26    src/sys/kern/kern_sx.c
  1.36      +90 -64    src/sys/sys/sx.h
  1.385     +2 -2      src/sys/vm/vm_map.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to