diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-08-08 09:14:54 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-08-09 09:10:37 +0200 |
commit | 1399e5f753256e7b5523f1eb260cdd7e95e80dee (patch) | |
tree | 9562f52600e8f5fc4fa9ac8b5a7268bf6a100d12 /src/server/server_stubs.c | |
parent | 28ddefd0659048773fd6066d0265fca76ca036d5 (diff) | |
download | openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.tar.gz openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.tar.bz2 openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.tar.xz openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.zip |
target: if polling fails, back off
back-off algorithm for polling. Double polling
interval up to 5000ms when it fails.
when polling succeeds, reset backoff.
This avoids flooding logs(as much) when working
with conditions where the target polling will fail.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/server/server_stubs.c')
0 files changed, 0 insertions, 0 deletions