auronandace
d8dc04d335
only import the needed types in bits_pthread
2026-03-10 11:24:51 +00:00
auronandace
70f2e28c37
remove sched bits from pthread bits
2026-02-12 17:16:58 +00:00
Jeremy Soller
8a0b2dcbd0
Fix pthread_cleanup macros
2024-09-19 15:52:42 -06:00
Jeremy Soller
110aeadaa6
Fix backslashes in bits_pthread macros
2024-09-19 15:45:20 -06:00
4lDO2
c76a12347f
Enforce -Werror in tests.
2023-11-12 11:45:15 +01:00
4lDO2
3c1107f21a
Future-proof against incorrect libc crate usage.
2023-10-26 15:37:15 +02:00
Noa
df6f4678e8
Fix warnings
2023-05-30 13:46:17 -05:00
4lDO2
cdd0f67b23
Rustfmt.
2023-05-17 15:28:10 +02:00
Jeremy Soller
66f1f32ac2
Pad RlctAttr for 32-bit systems
2023-05-11 12:06:53 -06:00
4lDO2
439b054486
Rustify pthread_rwlock_t.
2023-05-06 17:02:54 +02:00
4lDO2
7bcfa9cfd9
Fix Linux.
2023-05-06 17:02:53 +02:00
4lDO2
e6df6ccfb3
Fix once and try to improve barrier.
2023-05-06 17:02:53 +02:00
4lDO2
8d9dd0df45
Improve pthread_cleanup_{push,pop}.
2023-05-06 17:02:53 +02:00
4lDO2
fb3242badc
New attempt at pthread_cleanup_{push,pop}.
2023-05-06 17:02:52 +02:00
4lDO2
dc8ee7b2f0
Adjust pthread_cond_t size.
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
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
f0d8b6fd31
Specify the type in pthread initializers as well.
...
Otherwise it would be possible to do e.g.
`pthread_mutex_t mutex = PTHREAD_ONCE_INITIALIZER;```,
which would expand to
```pthread_mutex_t mutex = {0};```.
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