cvs commit: src/lib/libthr/thread thr_mutex.c

Mike Makonnen mtm at FreeBSD.org
Thu May 29 13:58:32 PDT 2003


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


More information about the cvs-all mailing list