Anhad Singh
|
cfe89f828a
|
feat: rwlock instead of mutex for global scope
* Rwlock -> InnerRwLock
* RwLock makes use of InnerRwLock.
Signed-off-by: Anhad Singh <andypython@protonmail.com>
|
2024-12-31 00:54:52 +11:00 |
|
Josh Megnauth
|
5348273ccc
|
Emit C attributes via cbindgen
|
2024-11-17 16:15:07 +00:00 |
|
4lDO2
|
4bd0d2a1ef
|
Move pthread::Errno to separate module.
|
2024-09-11 23:22:29 +02:00 |
|
4lDO2
|
8dc3cca1e6
|
Allow (nonstandard?) pthread old{ty,state} == NULL
|
2024-08-10 12:59:20 +02:00 |
|
Jeremy Soller
|
5b78afe5be
|
Do not set constants UNLOCKED and LOCKED
|
2024-02-02 15:40:41 -07:00 |
|
Jeremy Soller
|
92b56f3f92
|
Format
|
2024-01-03 11:46:29 -07:00 |
|
Noa
|
df6f4678e8
|
Fix warnings
|
2023-05-30 13:46:17 -05:00 |
|
4lDO2
|
cdd0f67b23
|
Rustfmt.
|
2023-05-17 15:28:10 +02:00 |
|
4lDO2
|
89429f26c0
|
Follow POSIX by allowing NULL pthread_key_t dtors.
|
2023-05-12 18:09:22 +02:00 |
|
Jeremy Soller
|
2941e5b36a
|
Add _POSIX_THREADS definition
|
2023-05-11 17:18:16 -06:00 |
|
Jeremy Soller
|
66f1f32ac2
|
Pad RlctAttr for 32-bit systems
|
2023-05-11 12:06:53 -06:00 |
|
4lDO2
|
90a789368e
|
Add missing pthread_barrierattr_destroy.
|
2023-05-06 17:02:54 +02:00 |
|
4lDO2
|
439b054486
|
Rustify pthread_rwlock_t.
|
2023-05-06 17:02:54 +02:00 |
|
4lDO2
|
f60461cbf7
|
Use drop_in_place for pthread_attr_destroy.
|
2023-05-06 17:02:53 +02:00 |
|
4lDO2
|
8d9dd0df45
|
Improve pthread_cleanup_{push,pop}.
|
2023-05-06 17:02:53 +02:00 |
|
4lDO2
|
4353ef33cd
|
Fix pthread_join by not writing if retval == NULL.
|
2023-05-06 17:02:52 +02:00 |
|
4lDO2
|
14bfd2efd7
|
Redefine PTHREAD_BARRIER_SERIAL_THREAD.
|
2023-05-06 17:02:52 +02:00 |
|
4lDO2
|
9356098fb2
|
WIP: More complete pthread mutex implementation.
|
2023-05-06 17:02:52 +02:00 |
|
4lDO2
|
cf34e2512e
|
Move condvar impl to a mostly-safe module.
|
2023-05-06 17:02:51 +02:00 |
|
4lDO2
|
b455e2e374
|
Misc improvements, move barrier to safe module.
|
2023-05-06 17:02:51 +02:00 |
|
4lDO2
|
316203102a
|
Implement pthread_cleanup_{push,pop}.
|
2023-05-06 17:02:51 +02:00 |
|
4lDO2
|
bd6cc20a75
|
Make pthread types opaque, and check against libc.
|
2023-05-06 17:02:51 +02:00 |
|
4lDO2
|
b9f19f4326
|
Get pcid to work using this pthread impl.
|
2023-05-06 17:02:51 +02:00 |
|
4lDO2
|
6a658bc33d
|
Add needed functions for acid to link.
|
2023-05-06 17:02:51 +02:00 |
|
4lDO2
|
2593101ea7
|
Get it to compile
|
2023-05-06 17:02:50 +02:00 |
|
4lDO2
|
558d43082c
|
WIP: Expand native pthreads implementation.
|
2023-05-06 17:02:50 +02:00 |
|