include/grpc/support/sync_generic.h in awesome-grpc-that-works-0.12.2 vs include/grpc/support/sync_generic.h in awesome-grpc-that-works-0.14.0.dev

- old
+ new

@@ -1,8 +1,8 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: @@ -31,25 +31,9 @@ * */ #ifndef GRPC_SUPPORT_SYNC_GENERIC_H #define GRPC_SUPPORT_SYNC_GENERIC_H -/* Generic type defintions for gpr_sync. */ -#include <grpc/support/atm.h> - -/* gpr_event */ -typedef struct { gpr_atm state; } gpr_event; - -#define GPR_EVENT_INIT \ - { 0 } - -/* gpr_refcount */ -typedef struct { gpr_atm count; } gpr_refcount; - -/* gpr_stats_counter */ -typedef struct { gpr_atm value; } gpr_stats_counter; - -#define GPR_STATS_INIT \ - { 0 } +#include <grpc/impl/codegen/sync_generic.h> #endif /* GRPC_SUPPORT_SYNC_GENERIC_H */