RFC: Submitting cpuset.h to newlib by itself

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 14 15:06:04 UTC 2013


On 2013-11-14 15:58, Jennifer Averett wrote:
> Line 64 of the last cpuset that was sent out:
>
> /* Define the cpu set structure */
> typedef struct _cpuset {
>    cpu_set_word_t __bits[_NCPUWORDS];
> } cpu_set_t;

Ok, this is the Linux naming.  FreeBSD uses cpuset_t:

http://www.freebsd.org/cgi/man.cgi?query=pthread_attr_affinity_np&sektion=3&apropos=0&manpath=FreeBSD+9.2-RELEASE

Maybe we should add

typedef cpu_set_t cpuset_t;

?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list