Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2004 05:03:50 +0000 (UTC)
From:      Brian Feldman <green@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libpthread/thread thr_mutex.c
Message-ID:  <200410310503.i9V53ofj011896@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
green       2004-10-31 05:03:50 UTC

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_mutex.c 
  Log:
  Make pthread_mutex_trylock(3) return EBUSY on failure, as all software
  packages expect and seems to be most correct according to the slightly-
  ambiguous standards.
  
  MFC after:              1 month
  Corroborated by:        POSIX <http://tinyurl.com/4uvub>;
  Reviewed by:            silence on threads@
  
  Revision  Changes    Path
  1.46      +1 -8      src/lib/libpthread/thread/thr_mutex.c



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