1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

LibC+LibPthread: Implement pthread_rwlock_*

This implementation is pretty damn dumb, and probably has more bugs than
features.
But for the time being, it seems to work. however, we should definitely
replace it with a good implementation sometime very soon :^)
This commit is contained in:
AnotherTest 2021-02-13 22:01:23 +03:30 committed by Andreas Kling
parent 2e50c232f7
commit 8e074f8665
2 changed files with 201 additions and 19 deletions

View file

@ -98,7 +98,7 @@ typedef struct __pthread_cond_t {
int clockid; // clockid_t
} pthread_cond_t;
typedef void* pthread_rwlock_t;
typedef uint64_t pthread_rwlock_t;
typedef void* pthread_rwlockattr_t;
typedef void* pthread_spinlock_t;
typedef struct __pthread_condattr_t {