Go to the source code of this file.
Defines | |
| #define | ddekit_lock_init ddekit_lock_init_unlocked |
Typedefs | |
| typedef struct ddekit_lock * | ddekit_lock_t |
Functions | |
| void | _ddekit_lock_init (struct ddekit_lock **mtx) |
| Initialize a DDEKit lock. | |
| void | _ddekit_lock_deinit (struct ddekit_lock **mtx) |
| Uninitialize a DDEKit lock. | |
| void | _ddekit_lock_lock (struct ddekit_lock **mtx) |
| Acquire a lock. | |
| int | _ddekit_lock_try_lock (struct ddekit_lock **mtx) |
| Acquire a lock, non-blocking. | |
| void | _ddekit_lock_unlock (struct ddekit_lock **mtx) |
| Unlock function. | |
| int | _ddekit_lock_owner (struct ddekit_lock **mtx) |
| Get lock owner. | |
| static void | ddekit_lock_init_locked (ddekit_lock_t *mtx) |
| static void | ddekit_lock_init_unlocked (ddekit_lock_t *mtx) |
| static void | ddekit_lock_deinit (ddekit_lock_t *mtx) |
| static void | ddekit_lock_lock (ddekit_lock_t *mtx) |
| static int | ddekit_lock_try_lock (ddekit_lock_t *mtx) |
| static void | ddekit_lock_unlock (ddekit_lock_t *mtx) |
| static INLINE int | ddekit_lock_owner (ddekit_lock_t *mtx) |
| typedef struct ddekit_lock* ddekit_lock_t |
| static INLINE void ddekit_lock_deinit | ( | ddekit_lock_t * | mtx | ) | [static] |
| static INLINE void ddekit_lock_init_locked | ( | ddekit_lock_t * | mtx | ) | [static] |
| static INLINE void ddekit_lock_init_unlocked | ( | ddekit_lock_t * | mtx | ) | [static] |
| static INLINE void ddekit_lock_lock | ( | ddekit_lock_t * | mtx | ) | [static] |
| static INLINE int ddekit_lock_owner | ( | ddekit_lock_t * | mtx | ) | [static] |
| static INLINE int ddekit_lock_try_lock | ( | ddekit_lock_t * | mtx | ) | [static] |
| static INLINE void ddekit_lock_unlock | ( | ddekit_lock_t * | mtx | ) | [static] |
1.5.6