API Reference Manual  1.45.0
api/spec/spinlock.h File Reference

ODP spinlock. More...

#include <odp/visibility_begin.h>
#include <odp/visibility_end.h>
Include dependency graph for api/spec/spinlock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void odp_spinlock_init (odp_spinlock_t *splock)
 Initialize spin lock. More...
 
void odp_spinlock_lock (odp_spinlock_t *splock)
 Acquire spin lock. More...
 
int odp_spinlock_trylock (odp_spinlock_t *splock)
 Try to acquire spin lock. More...
 
void odp_spinlock_unlock (odp_spinlock_t *splock)
 Release spin lock. More...
 
int odp_spinlock_is_locked (odp_spinlock_t *splock)
 Check if spin lock is busy (locked). More...
 

Detailed Description

ODP spinlock.

Definition in file api/spec/spinlock.h.