Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2003 13:32:25 -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:  <200303042132.h24LWPrE064362@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/03/04 13:32:25 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mutex.c 
  Log:
  Remove safety belt: it is now ok to do a mtx_trylock() on a mutex you
  already own.  The mtx_trylock() will fail however.  Enhance the comment
  at the top of the try lock function to explain this.
  
  Requested by:   jlemon and his evil netisr locking
  
  Revision  Changes    Path
  1.121     +4 -5      src/sys/kern/kern_mutex.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




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