Add comment, make sure object value is set

pull/7209/head
Craig Tiller 9 years ago
parent d7addc5027
commit be4e680344
  1. 6
      src/core/lib/iomgr/workqueue_windows.c

@ -37,8 +37,14 @@
#include "src/core/lib/iomgr/workqueue.h" #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_error *grpc_workqueue_create(grpc_exec_ctx *exec_ctx,
grpc_workqueue **workqueue) { grpc_workqueue **workqueue) {
*workqueue = (grpc_workqueue *)1;
return GRPC_ERROR_NONE; return GRPC_ERROR_NONE;
} }

Loading…
Cancel
Save