From 31687b4d8a8e870762d6aa4b115cc36cbeb47773 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 2 Dec 2009 01:22:07 -0500 Subject: [PATCH] Fix regress_iocp.c usage of old lock allocation macros. --- test/regress_iocp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/regress_iocp.c b/test/regress_iocp.c index 81866dfe..64cfc7e1 100644 --- a/test/regress_iocp.c +++ b/test/regress_iocp.c @@ -103,8 +103,8 @@ test_iocp_port(void *ptr) memset(&o1, 0, sizeof(o1)); memset(&o2, 0, sizeof(o2)); - EVTHREAD_ALLOC_LOCK(o1.lock); - EVTHREAD_ALLOC_LOCK(o2.lock); + EVTHREAD_ALLOC_LOCK(o1.lock, EVTHREAD_LOCKTYPE_RECURSIVE); + EVTHREAD_ALLOC_LOCK(o2.lock, EVTHREAD_LOCKTYPE_RECURSIVE); tt_assert(o1.lock); tt_assert(o2.lock);