aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/workqueue_posix.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-07-19 09:25:49 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-07-19 09:25:49 -0700
commit5ca7e47493899b69126a2ef331936bcba37ee545 (patch)
tree37a81a06bf5bfdcdf01ad95a598866c800d15768 /src/core/lib/iomgr/workqueue_posix.h
parente73459554a7558a260d8e24002ebe6aafac8874a (diff)
Merge pull request #6737 from ctiller/delayed-write
Delay beginning most writes until we enter poll()
Diffstat (limited to 'src/core/lib/iomgr/workqueue_posix.h')
-rw-r--r--src/core/lib/iomgr/workqueue_posix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/workqueue_posix.h b/src/core/lib/iomgr/workqueue_posix.h
index dcb47e7b59..0f26ba58e2 100644
--- a/src/core/lib/iomgr/workqueue_posix.h
+++ b/src/core/lib/iomgr/workqueue_posix.h
@@ -50,4 +50,9 @@ struct grpc_workqueue {
grpc_closure read_closure;
};
+/** Create a work queue. Returns an error if creation fails. If creation
+ succeeds, sets *workqueue to point to it. */
+grpc_error *grpc_workqueue_create(grpc_exec_ctx *exec_ctx,
+ grpc_workqueue **workqueue);
+
#endif /* GRPC_CORE_LIB_IOMGR_WORKQUEUE_POSIX_H */