On 2014-02-21 16:16, Joel Sherrill wrote:
On Feb 21, 2014 9:04 AM, Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote: > > On 2014-02-21 15:27, Gedare Bloom wrote: > > On Fri, Feb 21, 2014 at 3:00 AM, Sebastian Huber > > <sebastian.hu...@embedded-brains.de> wrote: > >> >On 2014-02-20 21:07, Jennifer Averett wrote: > >>> >> > >>> >>+#if __RTEMS_HAVE_SYS_CPUSET_H__ && defined( RTEMS_SMP ) > >>> >>+const Cpuset_Control *_Cpuset_Handler_default(void); > >>> >>+#else > >>> >>+#define _Cpuset_Handler_default() do { } while ( 0 ) > >>> >>+#endif > >> > > >> > > >> >In case the C library doesn't provide an appropriate <sys/cpuset.h> then we > >> >should provide our own header file. Maybe we should use a special header > >> >file that either uses <sys/cpuset.h> directly or alternatively provides the > >> >missing declarations and functions. > >> > > >> >I don't think it makes sense to use a SMP configuration with this API. > >> > > > Do you mean UP? > > > > Oh, I meant: > > I don't think it makes sense to use a SMP configuration WITHOUT this API. Agreed and it only is there to prevent a tool versioning hiccup.
There are not that many RTEMS SMP users out there. The RTEMS SMP is work in progress, so I don't think its too much to ask SMP interested users to use Newlib 2.1.0. They need also <stdatomic.h>, the __getreent() stuff and the pthread cleanup changes.
-- 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.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel