aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support/time_posix.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-10-10 20:45:32 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-10-10 20:45:32 -0700
commit35c10cb6da8ea388e7c58ec833c205ff301f0f31 (patch)
tree0aabe45328086967b416802406515c50b53c3181 /src/core/lib/support/time_posix.cc
parentdb78c2fa3b753f84940ff4fea0e7627b8779413e (diff)
parentfb607b34db35fee6b245cb1d61a1e863539e7534 (diff)
Merge github.com:grpc/grpc into no-pollers-for-you
Diffstat (limited to 'src/core/lib/support/time_posix.cc')
-rw-r--r--src/core/lib/support/time_posix.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/lib/support/time_posix.cc b/src/core/lib/support/time_posix.cc
index deccb50975..3267ea6b54 100644
--- a/src/core/lib/support/time_posix.cc
+++ b/src/core/lib/support/time_posix.cc
@@ -30,7 +30,6 @@
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
-#include "src/core/lib/support/block_annotate.h"
static struct timespec timespec_from_gpr(gpr_timespec gts) {
struct timespec rv;
@@ -159,9 +158,7 @@ void gpr_sleep_until(gpr_timespec until) {
delta = gpr_time_sub(until, now);
delta_ts = timespec_from_gpr(delta);
- GRPC_SCHEDULING_START_BLOCKING_REGION;
ns_result = nanosleep(&delta_ts, NULL);
- GRPC_SCHEDULING_END_BLOCKING_REGION;
if (ns_result == 0) {
break;
}