API Reference Manual  1.45.0
api/abi-default/ticketlock.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2015-2018 Linaro Limited
3  */
4 
11 #ifndef ODP_ABI_TICKETLOCK_H_
12 #define ODP_ABI_TICKETLOCK_H_
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <odp/api/atomic.h>
19 
21 typedef struct odp_ticketlock_s {
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif
ODP atomic operations.
struct odp_ticketlock_s odp_ticketlock_t
ODP ticketlock.
odp_atomic_u32_t next_ticket
Next ticket.
odp_atomic_u32_t cur_ticket
Current ticket.