aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/chttp2
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-15 16:16:06 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-15 16:16:06 -0700
commit47a708e252c8f56091c11e63eadba51a995ca7c8 (patch)
tree828e949d82a3f965ac36b4eb3475aa3c96c8c83e /src/core/transport/chttp2
parent97419e4e7d6e404e81ef364767909944e5331ee3 (diff)
Core compiles with workqueues
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r--src/core/transport/chttp2/frame_ping.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/frame_ping.c b/src/core/transport/chttp2/frame_ping.c
index 05451c7a8a..10d1e0a523 100644
--- a/src/core/transport/chttp2/frame_ping.c
+++ b/src/core/transport/chttp2/frame_ping.c
@@ -89,7 +89,9 @@ grpc_chttp2_parse_error grpc_chttp2_ping_parser_parse(
for (ping = transport_parsing->pings.next;
ping != &transport_parsing->pings; ping = ping->next) {
if (0 == memcmp(p->opaque_8bytes, ping->id, 8)) {
- grpc_iomgr_add_delayed_callback(ping->on_recv, 1);
+ /* we know no locks are held here, we may as well just call up
+ * directly */
+ ping->on_recv->cb(ping->on_recv->cb_arg, 1);
}
ping->next->prev = ping->prev;
ping->prev->next = ping->next;