aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support/time_posix.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-10-12 08:42:31 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-10-12 08:42:31 -0700
commit5d73d47f642dcd1b30a59c7a53c5332465bd0efa (patch)
treec398127c11d460f81fcf82004a7ebf468277e9a7 /src/core/lib/support/time_posix.cc
parent4e9576663113f28fb4a6aaec43c8950666caff44 (diff)
parent97e11e02e00e96c94551fda3bc980c64b446e759 (diff)
Merge github.com:grpc/grpc into vector
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;
}