From 3cedf14c3586b0770cb9ee62c75f922ab2006153 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 7 Jul 2017 18:41:56 -0700 Subject: SRWLocks FTW! Modern Windows (Vista and later) have light weight Slim Read/Write locks which only occupy 64 bits, and don't require any memory allocation to create. While here clean up a few more unreferenced variables found with the Microsoft compilers. --- src/core/msgqueue.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/msgqueue.c') diff --git a/src/core/msgqueue.c b/src/core/msgqueue.c index 985563ad..a69af47c 100644 --- a/src/core/msgqueue.c +++ b/src/core/msgqueue.c @@ -510,7 +510,6 @@ nni_msgq_run_timeout(void *arg) nni_time exp; nni_aio *aio; nni_aio *naio; - int rv; now = nni_clock(); exp = NNI_TIME_NEVER; -- cgit v1.2.3-70-g09d2