Date: | 2012-06-28 06:33:31 (11 years 9 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | c9923b428209c868fa2001418e23daaae56f211a |
Message: | fw/antorcha.c (main): allow a new sweep to preempt an active sweep Waiting until the current sweep finished could delay the next sweep (without cancelling it), confusing the timing. |
Files: |
fw/antorcha.c (1 diff) |
Change Details
fw/antorcha.c | ||
---|---|---|
136 | 136 | got = rf_recv(buf, sizeof(buf)); |
137 | 137 | if (got > 2) |
138 | 138 | dispatch(buf, got-2, protos); |
139 | if (wake && !sweeping) { | |
139 | if (wake) { | |
140 | 140 | wake = 0; |
141 | 141 | if (state == LEFT) |
142 | 142 | submit_fwd_sweep(); |
Branches:
master
tornado-v1