Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nptl: Move pthread_setschedparam implementation into libcfw/libpthread-removal-easy | Florian Weimer | 2020-02-10 | 32 | -38/+1 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_getschedparam implementation into libc | Florian Weimer | 2020-02-10 | 32 | -34/+3 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | Add hidden prototypes for __sched_getparam, __sched_getscheduler | Florian Weimer | 2020-02-10 | 3 | -0/+4 |
| | | | | This will enable them to be used in libc.so without PLTs. | ||||
* | nptl: Move pthread_cond_init implementation into libc | Florian Weimer | 2020-02-10 | 35 | -67/+8 |
| | | | | | | | | | It is necessary to export __pthread_cond_init from libc because the C11 condition variable needs it and is still left in libpthread. This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_cond_destroy implementation into libc | Florian Weimer | 2020-02-10 | 35 | -64/+13 |
| | | | | | | | | | It is necessary to export __pthread_cond_destroy from libc because the C11 condition variable needs it and is still left in libpthread. This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_condattr_init implementation into libc | Florian Weimer | 2020-02-10 | 32 | -34/+1 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_condattr_destroy implementation into libc | Florian Weimer | 2020-02-10 | 32 | -32/+3 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_attr_setscope implementation into libc | Florian Weimer | 2020-02-10 | 32 | -36/+1 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Use .NOTPARALLEL in Makefile only if actually running tests | Florian Weimer | 2020-02-10 | 1 | -1/+3 |
| | | | | It is safe to build the tests in parallel. | ||||
* | nptl: Move pthread_attr_getscope implementation into libc | Florian Weimer | 2020-02-10 | 32 | -33/+3 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_attr_setschedpolicy implementation into libc | Florian Weimer | 2020-02-10 | 32 | -34/+1 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Move pthread_attr_getschedpolicy implementation into libc | Florian Weimer | 2020-02-10 | 32 | -33/+3 |
| | | | | | | This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> | ||||
* | nptl: Sort routines list in Makefile alphabetically | Florian Weimer | 2020-02-10 | 1 | -7/+21 |
| | | | | | This will make it easier to review changes which move implementations from libpthread to libc. | ||||
* | Improve random memcpy benchmark | Wilco Dijkstra | 2020-02-10 | 1 | -29/+57 |
| | | | | | | | | | Improve the random memcpy benchmark. Double the number of copies and increase the memory sizes tested to 512KB. Add a more detailed distribution of memcpy alignment and sizes up to 4096 based on SPEC2017 traces. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org> | ||||
* | nptl: update default pthread-offsets.h | Andreas Schwab | 2020-02-10 | 1 | -16/+6 |
| | | | | | Remove unused definitions, and correct __PTHREAD_RWLOCK_FLAGS_OFFSET for __WORDSIZE == 64. | ||||
* | nptl: add missing pthread-offsets.h | Andreas Schwab | 2020-02-10 | 5 | -0/+25 |
| | | | | | All architectures using their own definition of struct __pthread_rwlock_arch_t need to provide their own pthread-offsets.h. | ||||
* | htl: Avoid a local plt for pthread_self | Samuel Thibault | 2020-02-10 | 1 | -3/+3 |
| | |||||
* | pthread: Move some join tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-10 | 14 | -13/+16 |
| | | | | So they can be checked with htl too. | ||||
* | htl: Make joining self return EDEADLK | Samuel Thibault | 2020-02-10 | 1 | -0/+3 |
| | |||||
* | pthread: Move most barrier tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-10 | 7 | -1/+2 |
| | | | | So they can be checked with htl too. | ||||
* | htl: Fix barrier_wait with one thread | Samuel Thibault | 2020-02-10 | 1 | -1/+3 |
| | |||||
* | pthread: Move most sem tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-10 | 15 | -3/+12 |
| | | | | So they can be checked with htl too. | ||||
* | htl: Make sem_wait/sem_timedwait interruptible | Samuel Thibault | 2020-02-10 | 7 | -9/+47 |
| | |||||
* | htl: Make sem_open return ENOSYS | Samuel Thibault | 2020-02-10 | 1 | -1/+1 |
| | | | | instead of EOPNOTSUPP, which is for sockets. | ||||
* | htl: Add support for semaphore maximum value | Samuel Thibault | 2020-02-10 | 2 | -0/+10 |
| | |||||
* | pthread: Move key tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-10 | 6 | -1/+1 |
| | | | | So they can be checked with htl too. | ||||
* | hurd: Make nanosleep a cancellation point | Samuel Thibault | 2020-02-10 | 1 | -0/+5 |
| | |||||
* | htl: Add support for libc cancellation points | Samuel Thibault | 2020-02-10 | 6 | -3/+69 |
| | |||||
* | htl: clean __pthread_get_cleanup_stack hidden proto | Samuel Thibault | 2020-02-10 | 4 | -6/+4 |
| | |||||
* | htl: XFAIL rwlock tests which need pshared support | Samuel Thibault | 2020-02-09 | 1 | -0/+2 |
| | |||||
* | pthread: Move some rwlock tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 9 | -5/+6 |
| | | | | So they can be checked with htl too. | ||||
* | pthread: Move most once tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 8 | -5/+8 |
| | | | | So they can be checked with htl too. | ||||
* | htl: support cancellation during pthread_once | Samuel Thibault | 2020-02-09 | 1 | -0/+10 |
| | |||||
* | pthread: Move most cond tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 31 | -8/+28 |
| | | | | So they can be checked with htl too. | ||||
* | htl: make pthread_cond_destroy return EBUSY on waiters | Samuel Thibault | 2020-02-09 | 1 | -1/+8 |
| | |||||
* | htl: Report missing mutex lock on pthread_cond_*wait | Samuel Thibault | 2020-02-09 | 4 | -1/+59 |
| | |||||
* | htl: Fix linking static testcases | Samuel Thibault | 2020-02-09 | 1 | -0/+2 |
| | | | | They need libpthread.a | ||||
* | htl: Move __register_atfork from forward to own file | Samuel Thibault | 2020-02-09 | 3 | -139/+158 |
| | | | | Since we need it also in the static linking case. | ||||
* | pthread: Move some attr tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 3 | -1/+2 |
| | | | | So they can be checked with htl too. | ||||
* | htl: Fix default guard size | Samuel Thibault | 2020-02-09 | 3 | -2/+6 |
| | | | | | When it is not hardcoded by the architecture with PAGESIZE, we need to use the dynamic values from __vm_page_size. | ||||
* | pthread: Move most mutex tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 10 | -3/+8 |
| | | | | | | So they can be checked with htl too. XFAIL tst-mutex4, for which support is still missing in htl. | ||||
* | pthread: Move spin tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 6 | -1/+1 |
| | | | | So they can be checked with htl too. | ||||
* | htl: make pthread_spin_lock really spin | Samuel Thibault | 2020-02-09 | 1 | -1/+1 |
| | | | | | __spin_lock would actually use gsync_wait to block, which is not what pthread_spin_lock is about. | ||||
* | htl: Avoid check-installed-headers looking at inlines | Samuel Thibault | 2020-02-09 | 1 | -2/+4 |
| | |||||
* | htl: Do not put spin_lock inlines in public headers | Samuel Thibault | 2020-02-09 | 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. | ||||
* | pthread: Move basic tests from nptl to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 9 | -3/+8 |
| | | | | So they can be checked with htl too. | ||||
* | htl: Fix calling pthread_exit in the child of a fork | Samuel Thibault | 2020-02-09 | 1 | -0/+9 |
| | | | | | We need to reset the threads counter, otherwise pthread_exit() would not call exit(0). | ||||
* | x86: Remove <bits/select.h> and use the generic version | Florian Weimer | 2020-02-09 | 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. | ||||
* | C11 threads: Move implementation to sysdeps/pthread | Samuel Thibault | 2020-02-09 | 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> | ||||
* | htl: Add C11 threads types definitions | Samuel Thibault | 2020-02-09 | 1 | -0/+13 |
| |