Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 17:05:11 +0000
From:      gmiller@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r238342 - in soc2012/gmiller/locking-head: . lib/libwitness
Message-ID:  <20120626170511.A158C1065675@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gmiller
Date: Tue Jun 26 17:05:11 2012
New Revision: 238342
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=238342

Log:
   r238091@FreeBSD-dev:  root | 2012-06-19 04:15:46 -0500
   Add a wrapper for pthread_mutex_lock() to test the wrapper implementation
   approach.

Modified:
  soc2012/gmiller/locking-head/   (props changed)
  soc2012/gmiller/locking-head/lib/libwitness/wrappers.c

Modified: soc2012/gmiller/locking-head/lib/libwitness/wrappers.c
==============================================================================
--- soc2012/gmiller/locking-head/lib/libwitness/wrappers.c	Tue Jun 26 16:45:18 2012	(r238341)
+++ soc2012/gmiller/locking-head/lib/libwitness/wrappers.c	Tue Jun 26 17:05:11 2012	(r238342)
@@ -1 +1,10 @@
 
+#include <pthread.h>
+
+int	_pthread_mutex_lock(pthread_mutex_t *mutex);
+
+int
+pthread_mutex_lock(pthread_mutex_t *mutex)
+{
+  return _pthread_mutex_lock(mutex);
+}



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