Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nikhil
codes
Commits
4e3fa9b0
Commit
4e3fa9b0
authored
Mar 24, 2015
by
Jonathan Jenkins
Browse files
clarification of sched loop logic
parent
a6dac863
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/model-net-lp.c
View file @
4e3fa9b0
...
...
@@ -458,8 +458,9 @@ void handle_sched_next(
b
->
c0
=
1
;
*
in_sched_loop
=
0
;
}
// currently, loggp is the only network implementing the
// callback-based scheduling loop, all others schedule the next packet
// Currently, only a subset of the network implementations use the
// callback-based scheduling loop (model_net_method_idle_event).
// For all others, we need to schedule the next packet
// immediately
else
if
(
ns
->
net_id
==
SIMPLEP2P
||
ns
->
net_id
==
TORUS
){
tw_event
*
e
=
codes_event_new
(
lp
->
gid
,
...
...
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