aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-07-13 20:30:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-07-13 20:30:12 -0700
commit1b656542cfac468bbae2cf9d95dd78a48630b607 (patch)
treeea2e0b0c00bab126907f06c1eae7efc67e4edadf /src/core/lib/iomgr
parent2ea0104fc48fc91159ea85c8dc50ec3c9227195b (diff)
Document creation function
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r--src/core/lib/iomgr/workqueue_posix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/workqueue_posix.h b/src/core/lib/iomgr/workqueue_posix.h
index 2e8aca1816..0f26ba58e2 100644
--- a/src/core/lib/iomgr/workqueue_posix.h
+++ b/src/core/lib/iomgr/workqueue_posix.h
@@ -50,7 +50,8 @@ struct grpc_workqueue {
grpc_closure read_closure;
};
-/** Create a work queue */
+/** 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);