diff options
author | 2016-07-19 09:25:49 -0700 | |
---|---|---|
committer | 2016-07-19 09:25:49 -0700 | |
commit | 5ca7e47493899b69126a2ef331936bcba37ee545 (patch) | |
tree | 37a81a06bf5bfdcdf01ad95a598866c800d15768 /src/core/lib/iomgr/workqueue_posix.h | |
parent | e73459554a7558a260d8e24002ebe6aafac8874a (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.h | 5 |
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 */ |