list: switch lock to mtx

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-08-12 15:38:24 -04:00
commit e8effb194e
Signed by: michaelsshaw
GPG key ID: 5A5E0FB20708A9E7
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ typedef struct _list_item {
typedef struct _list_head {
struct _list_item *head;
struct _list_item *tail;
spinlock_t lock;
mtx_t lock;
} list_t;
void list_create(list_t *list);