[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Temporarily disable scheduler_trigger as unused
commit 08bea13c35275ae9f1cc49b6ff095a2b33686741
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Mon Oct 14 13:14:49 2013 -0400
Temporarily disable scheduler_trigger as unused
---
src/or/scheduler.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/or/scheduler.c b/src/or/scheduler.c
index 451634a..7d85260 100644
--- a/src/or/scheduler.c
+++ b/src/or/scheduler.c
@@ -125,7 +125,9 @@ static void scheduler_evt_callback(evutil_socket_t fd,
short events, void *arg);
static int scheduler_more_work(void);
static void scheduler_retrigger(void);
+#if 0
static void scheduler_trigger(void);
+#endif
/* Scheduler function implementations */
@@ -349,6 +351,7 @@ scheduler_run(void)
/** Trigger the scheduling event so we run the scheduler later */
+#if 0
static void
scheduler_trigger(void)
{
@@ -361,6 +364,7 @@ scheduler_trigger(void)
evtimer_add(run_sched_ev, &run_sched_tv);
}
+#endif
/** Mark a channel as ready to accept writes */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits