From aa6ab950bced283b03a2f56b354351651d9bdedd Mon Sep 17 00:00:00 2001 From: Krystof Vasa Date: Mon, 12 Aug 2013 13:26:40 +0100 Subject: [PATCH] lock decl --- include/mempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mempool.h b/include/mempool.h index 4b55974..89c432d 100644 --- a/include/mempool.h +++ b/include/mempool.h @@ -60,7 +60,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ declared here only to enable static allocation of mempools. */ struct mempool { - pthread_mutex_t lock; + struct sx lock; size_t obj_size; /* object size (rounded up for alignment) */ size_t chunk_size; /* allocation granularity */ unsigned int reserve; /* minimum (desired) size of the free-list */