Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
98692546
Commit
98692546
authored
11 years ago
by
Andrea Shepard
Browse files
Options
Downloads
Patches
Plain Diff
Make scheduler.c static globals visible to test suite
parent
5a07fb96
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/scheduler.c
+4
-4
4 additions, 4 deletions
src/or/scheduler.c
with
4 additions
and
4 deletions
src/or/scheduler.c
+
4
−
4
View file @
98692546
...
...
@@ -109,27 +109,27 @@
*/
/* Pqueue of channels that can write and have cells (pending work) */
static
smartlist_t
*
channels_pending
=
NULL
;
STATIC
smartlist_t
*
channels_pending
=
NULL
;
/*
* This event runs the scheduler from its callback, and is manually
* activated whenever a channel enters open for writes/cells to send.
*/
static
struct
event
*
run_sched_ev
=
NULL
;
STATIC
struct
event
*
run_sched_ev
=
NULL
;
/*
* Queue heuristic; this is not the queue size, but an 'effective queuesize'
* that ages out contributions from stalled channels.
*/
static
uint64_t
queue_heuristic
=
0
;
STATIC
uint64_t
queue_heuristic
=
0
;
/*
* Timestamp for last queue heuristic update
*/
static
time_t
queue_heuristic_timestamp
=
0
;
STATIC
time_t
queue_heuristic_timestamp
=
0
;
/* Scheduler static function declarations */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment