Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libevent/dist/test #if 0 more



details:   https://anonhg.NetBSD.org/src/rev/1c39cbae0729
branches:  trunk
changeset: 786060:1c39cbae0729
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 12 20:00:21 2013 +0000

description:
#if 0 more

diffstat:

 external/bsd/libevent/dist/test/regress_thread.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 8756cbdf9565 -r 1c39cbae0729 external/bsd/libevent/dist/test/regress_thread.c
--- a/external/bsd/libevent/dist/test/regress_thread.c  Fri Apr 12 19:59:26 2013 +0000
+++ b/external/bsd/libevent/dist/test/regress_thread.c  Fri Apr 12 20:00:21 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: regress_thread.c,v 1.3 2013/04/12 19:59:26 christos Exp $      */
+/*     $NetBSD: regress_thread.c,v 1.4 2013/04/12 20:00:21 christos Exp $      */
 /*
  * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
  *
@@ -30,7 +30,7 @@
 
 #include "event2/event-config.h"
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: regress_thread.c,v 1.3 2013/04/12 19:59:26 christos Exp $");
+__RCSID("$NetBSD: regress_thread.c,v 1.4 2013/04/12 20:00:21 christos Exp $");
 
 #include <sys/types.h>
 #include <stdio.h>
@@ -99,6 +99,7 @@
 
 }
 
+#if 0
 static void
 wake_one_timeout(evutil_socket_t fd, short what, void *arg)
 {
@@ -107,6 +108,7 @@
        EVTHREAD_COND_SIGNAL(cw->cond);
        EVLOCK_UNLOCK(cw->lock, 0);
 }
+#endif
 
 #define NUM_THREADS    100
 #define NUM_ITERATIONS  100
@@ -282,6 +284,7 @@
        int timed_out;
 };
 
+#if 0
 static THREAD_FN
 wait_for_condition(void *arg)
 {
@@ -304,7 +307,6 @@
        THREAD_RETURN();
 }
 
-#if 0
 static void
 thread_conditions_simple(void *arg)
 {



Home | Main Index | Thread Index | Old Index