Short term SMP fixes

Joel Sherrill joel.sherrill at OARcorp.com
Fri Jul 26 16:17:44 UTC 2013


On 7/26/2013 7:17 AM, Chris Johns wrote:
> Sebastian Huber wrote:
>> What about xyzapi.h, xyzcore.h and xyzimpl.h?
>>
> I think xyzcore.h is ok but I do not like xyzapi.h. I feel the 'api'
> part in this case is implicit. For example in user code you see would:
>
>    #include <xyz.h>
>
> and not:
>
>    #include <xyzapi.h>
>
> because it is implicit a user would only be accessing the API. The
> standard C library is the same with <string.h> rather than
> <stringapi.h>. The C++ std is another example.
>
> Currently we are forced to have other names. Boost uses directories such
> impl which is nice because it avoids things like 'armdmacorecore.h'
> happening. I think stdc++v3 has bits or something like that.
I would rather add a subdirectory which indicates they are internal
implementation.
> Chris
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list