Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 13:58:31 -0700 (PDT)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libthr/thread thr_mutex.c
Message-ID:  <200305292058.h4TKwV4V061152@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2003/05/29 13:58:31 PDT

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_mutex.c 
  Log:
  Make the mutex static initializers look more like the one for
  condition variables. Cosmetic.
  
  Explicitly compare against PTHREAD_MUTEX_INITIALIZER. We shouldn't
  encourage calls to the mutex functions with null pointers to mutexes.
  
  Approved by:    re/jhb
  
  Revision  Changes    Path
  1.9       +19 -25    src/lib/libthr/thread/thr_mutex.c



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