Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2004 15:09:52 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mutex.c
Message-ID:  <200401052309.i05N9qm8079425@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2004/01/05 15:09:52 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mutex.c 
  Log:
  - Allow mtx_trylock() to recurse on a recursive mutex.  Attempts to recurse
    on a non-recursive mutex will fail but will not trigger any assertions.
  - Add an assertion to mtx_lock() that one never recurses on a non-recursive
    mutex.  This is mostly useful for the non-WITNESS case.
  
  Requested by:   deischen, julian, others (1)
  
  Revision  Changes    Path
  1.133     +11 -5     src/sys/kern/kern_mutex.c



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