diff options
Diffstat (limited to 'platform/linux-generic/include/odp/api/plat/barrier_types.h')
-rw-r--r-- | platform/linux-generic/include/odp/api/plat/barrier_types.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/platform/linux-generic/include/odp/api/plat/barrier_types.h b/platform/linux-generic/include/odp/api/plat/barrier_types.h deleted file mode 100644 index 00b383cc6..000000000 --- a/platform/linux-generic/include/odp/api/plat/barrier_types.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright (c) 2015, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -/** - * @file - * - * ODP barrier - */ - -#ifndef ODP_BARRIER_TYPES_H_ -#define ODP_BARRIER_TYPES_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -#include <odp/api/std_types.h> -#include <odp/api/atomic.h> - -/** - * @internal - * ODP thread synchronization barrier - */ -struct odp_barrier_s { - uint32_t count; /**< Thread count */ - odp_atomic_u32_t bar; /**< Barrier counter */ -}; - -typedef struct odp_barrier_s odp_barrier_t; - -#ifdef __cplusplus -} -#endif - -#endif |