Proposed Pthread affinity APIs

Jennifer Averett Jennifer.Averett at OARcorp.com
Mon Nov 11 20:30:09 UTC 2013


The files for the proposed affinity changes to newlib are
attached.  cpuset.h is added to newlib/libc/sys/rtems/sys/
and the following will be added to the change log:

3013-11-11  Jennifer Averett <jennifer.averett at oarcorp.com>

	* libc/sys/rtems/sys/cpuset.h: New file.
	* libc/include/pthread.h: Add CPU afficinit and get attribute
	methods which are in GNU/Linux but beyond the POSIX standard.
	* libc/include/sys/types.h: Add cpu_set_t to pthread_attr_t.

Does anyone see any problems?  

Jennifer Averett
On-Line Applications Research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuset.diff
Type: text/x-patch
Size: 3596 bytes
Desc: cpuset.diff
URL: <http://lists.rtems.org/pipermail/devel/attachments/20131111/b5406437/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuset.h
Type: text/x-chdr
Size: 5642 bytes
Desc: cpuset.h
URL: <http://lists.rtems.org/pipermail/devel/attachments/20131111/b5406437/attachment-0001.bin>


More information about the devel mailing list