Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 00:55:01 -0700 (PDT)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_lock.c
Message-ID:  <199906280755.AAA97764@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    1999/06/28 00:55:01 PDT

  Modified files:
    sys/kern             kern_lock.c 
  Log:
  When requesting an exclusive lock with LK_NOWAIT, do not panic
  if LK_RECURSIVE is not set, as we will simply return that the
  lock is busy and not actually deadlock. This allows processes
  to use polling locks against buffers that they may already
  hold exclusively locked.
  
  Revision  Changes    Path
  1.27      +7 -5      src/sys/kern/kern_lock.c



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




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