diff options
author | Denys Vlasenko | 2020-12-11 16:48:47 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-12-11 16:48:47 +0100 |
commit | 030fe31760169783537162b83af89e551bf120f6 (patch) | |
tree | 92b219784b478405626b9259b82900ab3ca72a8e /libbb/platform.c | |
parent | 56ee5765074b2f2389066f3234a4da21501d3eaa (diff) | |
download | busybox-030fe31760169783537162b83af89e551bf120f6.zip busybox-030fe31760169783537162b83af89e551bf120f6.tar.gz |
libbb: make msleep() result in only one syscall instead of looping
function old new delta
msleep 45 52 +7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/platform.c')
-rw-r--r-- | libbb/platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/platform.c b/libbb/platform.c index d2b263a..329b023 100644 --- a/libbb/platform.c +++ b/libbb/platform.c @@ -27,7 +27,6 @@ int FAST_FUNC usleep(unsigned usec) * If a signal has non-default handler, nanosleep returns early. * Our version of usleep doesn't return early * if interrupted by such signals: - * */ while (nanosleep(&ts, &ts) != 0) continue; |