diff options
author | Craig Tiller <ctiller@google.com> | 2016-07-01 11:38:07 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-07-01 11:38:07 -0700 |
commit | be4e6803444f12bb75e21f37f04004280f74b764 (patch) | |
tree | 8276e14b41313c89115cac4a70d8552b1e821609 | |
parent | d7addc50279dc7f679231f0392d375983415f332 (diff) |
Add comment, make sure object value is set
-rw-r--r-- | src/core/lib/iomgr/workqueue_windows.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/workqueue_windows.c b/src/core/lib/iomgr/workqueue_windows.c index 789e5687c6..52a3e47f37 100644 --- a/src/core/lib/iomgr/workqueue_windows.c +++ b/src/core/lib/iomgr/workqueue_windows.c @@ -37,8 +37,14 @@ #include "src/core/lib/iomgr/workqueue.h" +// Minimal implementation of grpc_workqueue for Windows +// Works by directly enqueuing workqueue items onto the current execution +// context, which is at least correct, if not performant or in the spirit of +// workqueues. + grpc_error *grpc_workqueue_create(grpc_exec_ctx *exec_ctx, grpc_workqueue **workqueue) { + *workqueue = (grpc_workqueue *)1; return GRPC_ERROR_NONE; } |