Re: [PATCH v3] Cygwin: Implement sched_[gs]etaffinity()

2019-06-24 Thread Corinna Vinschen
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

[PATCH v3] Cygwin: Implement sched_[gs]etaffinity()

2019-06-23 Thread Mark Geisert
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 d