[PATCH v3] Cygwin: Fix return value of sched_getaffinity
Corinna Vinschen
corinna-cygwin@cygwin.com
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
header.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20190628/c7d82f19/attachment.sig>
More information about the Cygwin-patches
mailing list