list: change locking discipline
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
2cf76fd225
commit
071a5651e0
11 changed files with 61 additions and 15 deletions
|
|
@ -21,9 +21,11 @@ typedef struct _list_head {
|
|||
} list_t;
|
||||
|
||||
void list_create(list_t *list);
|
||||
void list_destroy(list_t * list);
|
||||
void list_destroy(list_t *list);
|
||||
list_item_t *list_insert(list_t *list, void *item);
|
||||
void list_remove(list_item_t *item);
|
||||
void list_lock(list_t *list);
|
||||
void list_unlock(list_t *list);
|
||||
void list_init();
|
||||
|
||||
#endif /* _LIST_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue