Date:2011-06-10 01:54:07 (12 years 9 months ago)
Author:Werner Almesberger
Commit:78ab0179905ccd06c2fd6caa0f8c662d81bcc2ca
Message:tools/atrf-proxy/atrf-proxy.c (cmd_zero): reduce poll delay from 100 ms to 2 ms

The overly generous delay has the effect of encouraging dubious
optimizations elsewhere. Not a good idea.
Files: tools/atrf-proxy/atrf-proxy.c (1 diff)

Change Details

tools/atrf-proxy/atrf-proxy.c
224224        if (res < 0)
225225            return netio_printf(netio, "-I/O error\n");
226226        if (!res)
227            usleep(100*1000);
227            usleep(2*1000);
228228        return netio_printf(netio, "+%d\n", res);
229229    }
230230    return netio_printf(netio, "-unrecognized command\n");

Archive Download the corresponding diff file



interactive