aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/stack_lockfree.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-16 08:45:15 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-16 08:45:15 -0700
commite0981dfa05e49acdd9fc5e8abb83a91d84d1a104 (patch)
tree09086d0cbdb4e130b6c66c837eed27d4f8c30bbc /src/core/support/stack_lockfree.h
parentb0c13ad7698e577298f199007cc2d7a0a3049d1c (diff)
parentf101af1ab4c553ff2a8cd8f72e8ca156ef188b86 (diff)
Merge github.com:grpc/grpc into i-want-to-wait-free
Diffstat (limited to 'src/core/support/stack_lockfree.h')
-rw-r--r--src/core/support/stack_lockfree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/support/stack_lockfree.h b/src/core/support/stack_lockfree.h
index 4da3572deb..eec960fbb0 100644
--- a/src/core/support/stack_lockfree.h
+++ b/src/core/support/stack_lockfree.h
@@ -38,14 +38,14 @@ typedef struct gpr_stack_lockfree gpr_stack_lockfree;
/* This stack must specify the maximum number of entries to track.
The current implementation only allows up to 65534 entries */
-gpr_stack_lockfree *gpr_stack_lockfree_create(int entries);
-void gpr_stack_lockfree_destroy(gpr_stack_lockfree *);
+gpr_stack_lockfree* gpr_stack_lockfree_create(int entries);
+void gpr_stack_lockfree_destroy(gpr_stack_lockfree* stack);
/* Pass in a valid entry number for the next stack entry */
/* Returns 1 if this is the first element on the stack, 0 otherwise */
-int gpr_stack_lockfree_push(gpr_stack_lockfree *, int entry);
+int gpr_stack_lockfree_push(gpr_stack_lockfree*, int entry);
/* Returns -1 on empty or the actual entry number */
-int gpr_stack_lockfree_pop(gpr_stack_lockfree *);
+int gpr_stack_lockfree_pop(gpr_stack_lockfree* stack);
-#endif /* GRPC_INTERNAL_CORE_SUPPORT_STACK_LOCKFREE_H */
+#endif /* GRPC_INTERNAL_CORE_SUPPORT_STACK_LOCKFREE_H */