Posix patchs to support affinity attribute in newlib
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Mar 3 14:03:33 UTC 2014
On 2014-02-28 16:30, Jennifer Averett wrote:
>>> + * structure to copy from.
>>> > >+ */
>>> > >+RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes(
>>> > >+ pthread_attr_t *attr1,
>>> > >+ const pthread_attr_t *attr2
>>> > >+);
>>> > >+
>> >
>> >Why do we have the definition of this inline function separated from the
>> >declaration?
>> >
>
> This follows the structure of the file. All other inline methods in this file
> are defined in that manner.
>
I would like to add this to the RTEMS Coding Style:
http://www.rtems.org/wiki/index.php/Coding_Conventions#RTEMS_Coding_Style
=== Inline Functions ===
Declare and define inline functions in one place. This makes code review easier.
--
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