[PATCH v3] Cygwin: Fix return value of sched_getaffinity
Fri Jun 28 15:14:00 GMT 2019
On Jun 27 09:13, Corinna Vinschen wrote:
> On Jun 26 02:44, Mark Geisert wrote:
> > Have sched_getaffinity() interface like glibc's, and provide an
> > undocumented internal interface __sched_getaffinity_sys() like the Linux
> > kernel's sched_getaffinity() for benefit of taskset(1).
> I put this patch on hold until the problems with using the
> RTEMS headers are fixed. Basically the patch is fine, but
> *if* we introduce our own headers, it might be a good idea
> to move the definition of __sched_getaffinity_sys into our
> own headers.
Patch pushed with a minor change. I moved the dseclaration of
__sched_getaffinity_sys into the new winsup/cygwin/include/sys/cpuset.h
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Cygwin-patches