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
136136        got = rf_recv(buf, sizeof(buf));
137137        if (got > 2)
138138            dispatch(buf, got-2, protos);
139        if (wake && !sweeping) {
139        if (wake) {
140140            wake = 0;
141141            if (state == LEFT)
142142                submit_fwd_sweep();

Archive Download the corresponding diff file

Branches:
master
tornado-v1



interactive