X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/14046412dd248f8ae504cf75788edc480f2313d0..ec4ff182252b6d7b3cb81f4fa783c5348a6c30fd:/lunaix-os/includes/lunaix/ds/rwlock.h diff --git a/lunaix-os/includes/lunaix/ds/rwlock.h b/lunaix-os/includes/lunaix/ds/rwlock.h index 7dda9ad..ac0d039 100644 --- a/lunaix-os/includes/lunaix/ds/rwlock.h +++ b/lunaix-os/includes/lunaix/ds/rwlock.h @@ -13,6 +13,9 @@ typedef struct rwlock_s waitq_t waiting_writers; } rwlock_t; +void +rwlock_init(rwlock_t* rwlock); + void rwlock_begin_read(rwlock_t* rwlock);