diff options
author | ArunaMaurya221B <aruna.maurya12@gmail.com> | 2017-12-07 19:58:02 +0530 |
---|---|---|
committer | Matt Traudt <sirmatt@ksu.edu> | 2017-12-11 08:46:39 -0500 |
commit | d77cacb7ab97e876900063f4d7c852a458bdab93 (patch) | |
tree | e79e928d2369291dd63f3dbdfdf40bdb162227bf /src/or/scheduler.h | |
parent | 58e8094816cb7d2dbc6ecc71892b667e968d9e2d (diff) | |
download | tor-d77cacb7ab97e876900063f4d7c852a458bdab93.tar.gz tor-d77cacb7ab97e876900063f4d7c852a458bdab93.zip |
Bug:24531 Add function to change scheduler state and always use it
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r-- | src/or/scheduler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h index 47c98f096a..b2d05166a4 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -143,6 +143,9 @@ MOCK_DECL(void, scheduler_channel_has_waiting_cells, (channel_t *chan)); /********************************* * Defined in scheduler.c *********************************/ +/* Function to log and change all the old and new states*/ + +void scheduler_set_channel(chan,new_state); /* Triggers a BUG() and extra information with chan if available. */ #define SCHED_BUG(cond, chan) \ |