mirror of git://sourceware.org/git/glibc.git
We add sched_yield() API testing to the existing thread affinity test case because it allows us to test sched_yield() operation in the following scenarios: * On a main thread. * On multiple threads simultaneously. * On every CPU the system reports simultaneously. The ensures we exercise sched_yield() in as many scenarios as we would exercise calls to the affinity functions. Additionally, the test is improved by adding a semaphore to coordinate all the threads running, so that an early starter thread won't consume cpu resources that could be used to start the other threads. Co-authored-by: DJ Delorie <dj@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||
---|---|---|
.. | ||
alpha | ||
arm | ||
bsd | ||
i386 | ||
inet | ||
mips | ||
powerpc | ||
sh | ||
sysv/linux | ||
x86_64 | ||
Implies | ||
Makefile | ||
confstr.h | ||
get_child_max.c | ||
getlogin.c | ||
getlogin_r.c | ||
getpagesize.c | ||
grantpt.c | ||
ifreq.c | ||
make-syscalls.sh | ||
setxid.h | ||
sockatmark.c | ||
syscall-template.S | ||
syscall.S | ||
syscalls.list | ||
sysdep.h |