Hi Mark, On Jun 23 14:51, Mark Geisert wrote: > This patch set implements the Linux syscalls sched_getaffinity, > sched_setaffinity, pthread_getaffinity_np, and pthread_setaffinity_np. > Linux has a straightforward view of the cpu sets used in affinity masks. > They are simply long (1024-bit) bit masks. This code emulates that view > while internally dealing with Windows' distribution of available CPUs among > processor groups. > --- > newlib/libc/include/sched.h | 23 ++ > winsup/cygwin/common.din | 4 + > winsup/cygwin/include/cygwin/version.h | 4 +- > winsup/cygwin/include/pthread.h | 2 + > winsup/cygwin/miscfuncs.cc | 20 +- > winsup/cygwin/miscfuncs.h | 1 + > winsup/cygwin/release/3.1.0 | 3 + > winsup/cygwin/sched.cc | 308 +++++++++++++++++++++++++ > winsup/cygwin/thread.cc | 19 ++ > winsup/doc/new-features.xml | 6 + > winsup/doc/posix.xml | 4 + > 11 files changed, 389 insertions(+), 5 deletions(-)
This looks great! I pushed it. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature