Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-10 | htl: Avoid a local plt for pthread_self | Samuel Thibault | 1 | -3/+3 | |
2020-02-10 | pthread: Move some join tests from nptl to sysdeps/pthread | Samuel Thibault | 14 | -13/+16 | |
So they can be checked with htl too. | |||||
2020-02-10 | htl: Make joining self return EDEADLK | Samuel Thibault | 1 | -0/+3 | |
2020-02-10 | pthread: Move most barrier tests from nptl to sysdeps/pthread | Samuel Thibault | 7 | -1/+2 | |
So they can be checked with htl too. | |||||
2020-02-10 | htl: Fix barrier_wait with one thread | Samuel Thibault | 1 | -1/+3 | |
2020-02-10 | pthread: Move most sem tests from nptl to sysdeps/pthread | Samuel Thibault | 15 | -3/+12 | |
So they can be checked with htl too. | |||||
2020-02-10 | htl: Make sem_wait/sem_timedwait interruptible | Samuel Thibault | 7 | -9/+47 | |
2020-02-10 | htl: Make sem_open return ENOSYS | Samuel Thibault | 1 | -1/+1 | |
instead of EOPNOTSUPP, which is for sockets. | |||||
2020-02-10 | htl: Add support for semaphore maximum value | Samuel Thibault | 2 | -0/+10 | |
2020-02-10 | pthread: Move key tests from nptl to sysdeps/pthread | Samuel Thibault | 6 | -1/+1 | |
So they can be checked with htl too. | |||||
2020-02-10 | hurd: Make nanosleep a cancellation point | Samuel Thibault | 1 | -0/+5 | |
2020-02-10 | htl: Add support for libc cancellation points | Samuel Thibault | 6 | -3/+69 | |
2020-02-10 | htl: clean __pthread_get_cleanup_stack hidden proto | Samuel Thibault | 4 | -6/+4 | |
2020-02-09 | htl: XFAIL rwlock tests which need pshared support | Samuel Thibault | 1 | -0/+2 | |
2020-02-09 | pthread: Move some rwlock tests from nptl to sysdeps/pthread | Samuel Thibault | 9 | -5/+6 | |
So they can be checked with htl too. | |||||
2020-02-09 | pthread: Move most once tests from nptl to sysdeps/pthread | Samuel Thibault | 8 | -5/+8 | |
So they can be checked with htl too. | |||||
2020-02-09 | htl: support cancellation during pthread_once | Samuel Thibault | 1 | -0/+10 | |
2020-02-09 | pthread: Move most cond tests from nptl to sysdeps/pthread | Samuel Thibault | 31 | -8/+28 | |
So they can be checked with htl too. | |||||
2020-02-09 | htl: make pthread_cond_destroy return EBUSY on waiters | Samuel Thibault | 1 | -1/+8 | |
2020-02-09 | htl: Report missing mutex lock on pthread_cond_*wait | Samuel Thibault | 4 | -1/+59 | |
2020-02-09 | htl: Fix linking static testcases | Samuel Thibault | 1 | -0/+2 | |
They need libpthread.a | |||||
2020-02-09 | htl: Move __register_atfork from forward to own file | Samuel Thibault | 3 | -139/+158 | |
Since we need it also in the static linking case. | |||||
2020-02-09 | pthread: Move some attr tests from nptl to sysdeps/pthread | Samuel Thibault | 3 | -1/+2 | |
So they can be checked with htl too. | |||||
2020-02-09 | htl: Fix default guard size | Samuel Thibault | 3 | -2/+6 | |
When it is not hardcoded by the architecture with PAGESIZE, we need to use the dynamic values from __vm_page_size. | |||||
2020-02-09 | pthread: Move most mutex tests from nptl to sysdeps/pthread | Samuel Thibault | 10 | -3/+8 | |
So they can be checked with htl too. XFAIL tst-mutex4, for which support is still missing in htl. | |||||
2020-02-09 | pthread: Move spin tests from nptl to sysdeps/pthread | Samuel Thibault | 6 | -1/+1 | |
So they can be checked with htl too. | |||||
2020-02-09 | htl: make pthread_spin_lock really spin | Samuel Thibault | 1 | -1/+1 | |
__spin_lock would actually use gsync_wait to block, which is not what pthread_spin_lock is about. | |||||
2020-02-09 | htl: Avoid check-installed-headers looking at inlines | Samuel Thibault | 1 | -2/+4 | |
2020-02-09 | htl: Do not put spin_lock inlines in public headers | Samuel Thibault | 2 | -36/+36 | |
They were not getting used anyway. Also do not make libsupport use them, it would make tests using it have to be made to link against libmachuser for gsync_wait. | |||||
2020-02-09 | pthread: Move basic tests from nptl to sysdeps/pthread | Samuel Thibault | 9 | -3/+8 | |
So they can be checked with htl too. | |||||
2020-02-09 | htl: Fix calling pthread_exit in the child of a fork | Samuel Thibault | 1 | -0/+9 | |
We need to reset the threads counter, otherwise pthread_exit() would not call exit(0). | |||||
2020-02-09 | x86: Remove <bits/select.h> and use the generic version | Florian Weimer | 1 | -63/+0 | |
Particularly on CPUs without ERMS, the string instructions are slow, so it is unclear whether this architecture-specific implementation is in fact an optimization. | |||||
2020-02-09 | C11 threads: Move implementation to sysdeps/pthread | Samuel Thibault | 49 | -77/+127 | |
so it gets shared by nptl and htl. Also add htl versions of thrd_current and thrd_yield. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | htl: Add C11 threads types definitions | Samuel Thibault | 1 | -0/+13 | |
2020-02-09 | C11 threads: make thrd_join more portable | Samuel Thibault | 1 | -1/+1 | |
by making a __pthread_join call instead of an equivalent __pthread_clockjoin_ex call. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | C11 threads: Fix thrd_t / pthread_t compatibility assertion | Samuel Thibault | 1 | -2/+2 | |
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | C11 threads: do not require PTHREAD_DESTRUCTOR_ITERATIONS | Samuel Thibault | 1 | -0/+2 | |
It is optional in POSIX. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | nptl: Move nptl-specific types to separate header | Samuel Thibault | 3 | -9/+16 | |
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | htl: Make __PTHREAD_ONCE_INIT more flexible | Samuel Thibault | 2 | -2/+2 | |
by moving its (struct __pthread_once) cast into PTHREAD_ONCE_INIT. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | htl: Add support for C11 threads behavior | Samuel Thibault | 3 | -1/+25 | |
Essentially properly calling the thread function which returns an int instead of a void*. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | |||||
2020-02-09 | htl: Add missing internal functions declarations | Samuel Thibault | 1 | -0/+13 | |
2020-02-09 | htl: Rename _pthread_mutex_init/destroy to __pthread_mutex_init/destroy | Samuel Thibault | 6 | -11/+13 | |
2020-02-09 | htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE | Samuel Thibault | 2 | -11/+4 | |
Their prototypes have never been made public, and they are not used outside libc (checked on the whole Debian archive) | |||||
2020-02-09 | Linux: Add io/tst-o_path-locks test | Florian Weimer | 2 | -1/+101 | |
The O_PATH-based fchmodat emulation will rely on the fact that closing an O_PATH descriptor never releases POSIX advisory locks, so this commit adds a test case for this behavior. | |||||
2020-02-09 | support: Add the xlstat function | Florian Weimer | 3 | -0/+30 | |
2020-02-09 | htl: Remove duplicate files | Samuel Thibault | 2 | -56/+0 | |
The generic versions have the same content. | |||||
2020-02-09 | htl: Remove unused files | Samuel Thibault | 27 | -1106/+0 | |
These have never been used. | |||||
2020-02-07 | resolv: Fix CNAME chaining in resolv/tst-resolv-ai_idn-common.c | Florian Weimer | 1 | -1/+2 | |
The second CNAME record optionally generated by the response function used the question name, not the redirected name from the first CNAME. This breaks the chain and results in failures of these IDNA tests if CNAME owner names are checked as expected (which the current implementation does not do). | |||||
2020-02-07 | Remove a comment claiming that sin/cos round correctly. | Wilco Dijkstra | 1 | -4/+4 | |
2020-02-07 | y2038: linux: Provide __settimeofday64 implementation | Lukasz Majewski | 2 | -0/+62 | |
This patch provides new __settimeofday64 explicit 64 bit function for setting 64 bit time in the kernel (by internally calling __clock_settime64). Moreover, a 32 bit version - __settimeofday has been refactored to internally use __settimeofday64. The __settimeofday is now supposed to be used on systems still supporting 32 bit time (__TIMESIZE != 64) - hence the necessary conversion of struct timeval to 64 bit struct __timespec64. Internally the settimeofday uses __settimeofday64. This patch is necessary for having architectures with __WORDSIZE == 32 Y2038 safe. Build tests: ./src/scripts/build-many-glibcs.py glibcs Run-time tests: - Run specific tests on ARM/x86 32bit systems (qemu): https://github.com/lmajewski/meta-y2038 and run tests: https://github.com/lmajewski/y2038-tests/commits/master Above tests were performed with Y2038 redirection applied as well as without to test proper usage of both __settimeofday64 and __settimeofday. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |