mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:47:34 +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:
parent
2e50c232f7
commit
8e074f8665
2 changed files with 201 additions and 19 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue