mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Fix regress_iocp.c usage of old lock allocation macros.
This commit is contained in:
parent
bd6f1babf7
commit
31687b4d8a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user