Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2007 09:14:48 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sx.c src/sys/sys sx.h src/sys/vm vm_map.c
Message-ID:  <200705310914.l4V9Emri028273@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705310914.l4V9Emri028273>