API Reference Manual  1.45.0
api/spec/sync.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2013-2018 Linaro Limited
3  * Copyright (c) 2023 Nokia
4  */
5 
12 #ifndef ODP_API_SPEC_SYNC_H_
13 #define ODP_API_SPEC_SYNC_H_
14 #include <odp/visibility_begin.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
61 void odp_mb_release(void);
62 
77 void odp_mb_acquire(void);
78 
88 void odp_mb_full(void);
89 
101 void odp_mb_sync(void);
102 
111 void odp_mb_sync_load(void);
112 
121 void odp_mb_sync_store(void);
122 
127 #ifdef __cplusplus
128 }
129 #endif
130 
131 #include <odp/visibility_end.h>
132 #endif
void odp_mb_sync(void)
Memory barrier for load and store synchronization.
void odp_mb_full(void)
Full memory barrier.
void odp_mb_acquire(void)
Memory barrier for acquire operations.
void odp_mb_release(void)
Memory barrier for release operations.
void odp_mb_sync_load(void)
Memory barrier for load synchronization.
void odp_mb_sync_store(void)
Memory synchronization barrier for stores.