Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
d740c17c
Commit
d740c17c
authored
Aug 20, 1998
by
Bob Halley
Browse files
cleanups
parent
26d7020e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/task.c
View file @
d740c17c
...
...
@@ -51,7 +51,7 @@ struct task {
/* Locked by task lock. */
task_state_t
state
;
unsigned
int
references
;
task_eventlist_t
events
;
task_eventlist_t
events
;
unsigned
int
quantum
;
boolean_t
enqueue_allowed
;
task_event_t
shutdown_event
;
...
...
@@ -79,8 +79,8 @@ struct task_manager {
os_condition_t
no_workers
;
};
#define DEFAULT_DEFAULT_QUANTUM 5
#define FINISHED(m) ((m)->exiting && EMPTY((m)->tasks))
#define DEFAULT_DEFAULT_QUANTUM
5
#define FINISHED(m)
((m)->exiting && EMPTY((m)->tasks))
/***
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment