Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3 |
|
#
03841e7a |
| 07-Aug-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] add spin lock family functions (#100509)
This PR:
- add entrypoints for `pthread_spin_*`
- additionally, the fixes a typo that has been disabling lock related
tests
|
Revision tags: llvmorg-19.1.0-rc2 |
|
#
5cddc314 |
| 29-Jul-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] fix rwlock test (#100962)
Previous commit uses wrong clock id and forget to release an additional
rdlock. cc @Eric977
Sorry for missing this in my initial review.
Fixes https://github.co
[libc] fix rwlock test (#100962)
Previous commit uses wrong clock id and forget to release an additional
rdlock. cc @Eric977
Sorry for missing this in my initial review.
Fixes https://github.com/llvm/llvm-project/issues/100960.
Notice that the timestamp is created via
```c++
LIBC_NAMESPACE::clock_gettime(CLOCK_REALTIME, &ts);
ts.tv_nsec += 50'000;
if (ts.tv_nsec >= 1'000'000'000) {
ts.tv_nsec -= 1'000'000'000;
ts.tv_sec += 1;
}
```
show more ...
|
#
44df89cc |
| 28-Jul-2024 |
Eric977 <53341107+Eric977@users.noreply.github.com> |
[libc] add pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock … (#100543)
|
Revision tags: llvmorg-19.1.0-rc1, llvmorg-20-init |
|
#
5ff3ff33 |
| 12-Jul-2024 |
Petr Hosek <phosek@google.com> |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
|
#
ce9035f5 |
| 12-Jul-2024 |
Mehdi Amini <joker.eph@gmail.com> |
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)
Reverts llvm/llvm-project#98075
bots are broken
|
#
3f30effe |
| 11-Jul-2024 |
Petr Hosek <phosek@google.com> |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)
This is a part of #97655.
|
Revision tags: llvmorg-18.1.8 |
|
#
c091dd48 |
| 14-Jun-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] fix build errors (#95613)
|
#
f00f11bf |
| 14-Jun-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] fix build errors (#95600)
Bitfield conversion problem tested at: https://godbolt.org/z/dxjhs5Ghr
|
#
41fecca9 |
| 14-Jun-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] add rwlock (#94156)
|